Class ArrayContentValidator
- java.lang.Object
-
- gov.nasa.pds.tools.validate.content.array.ArrayContentValidator
-
public class ArrayContentValidator extends Object
Class that performs content validation on Array objects.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description ArrayContentValidator(ProblemListener listener, URL label, URL dataFile, String arrayID)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setSpotCheckData(int value)
void
validate(gov.nasa.pds.label.object.ArrayObject arrayObject)
Validates the given array.
-
-
-
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)
-
-