Class ArrayContentValidator


  • public class ArrayContentValidator
    extends Object
    Class that performs content validation on Array objects.
    Author:
    mcayanan
    • Constructor Detail

      • ArrayContentValidator

        public ArrayContentValidator​(ProblemListener listener,
                                     URL label,
                                     URL dataFile,
                                     String arrayID)
        Constructor.
        Parameters:
        listener - to capture messages.
        label - the label file.
        dataFile - the data file.
        arrayIndex - the index of the array.
    • Method Detail

      • validate

        public void validate​(gov.nasa.pds.label.object.ArrayObject arrayObject)
        Validates the given array.
        Parameters:
        array - Object representation of the array as described in the label.
        arrayObject - Object representation of the array.
      • setSpotCheckData

        public void setSpotCheckData​(int value)