Class TableValidator
- java.lang.Object
-
- gov.nasa.pds.tools.object.validate.TableValidator
-
- All Implemented Interfaces:
DataObjectValidator
public class TableValidator extends Object implements DataObjectValidator
- Version:
- $Revision$
- Author:
- pramirez, jagander
-
-
Constructor Summary
Constructors Constructor Description TableValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(DataObjectInputStream input, ObjectStatement object)
Validates the bytes in the object against the description in theObjectStatement
-
-
-
Method Detail
-
validate
public void validate(DataObjectInputStream input, ObjectStatement object) throws InvalidObjectException, InvalidDescriptionException
Description copied from interface:DataObjectValidator
Validates the bytes in the object against the description in theObjectStatement
- Specified by:
validate
in interfaceDataObjectValidator
- Parameters:
input
- bytes of the data objectobject
- The description of the object consists of a set of attribute statements- Throws:
InvalidObjectException
- if there is a problem with the bytes in accordance with the descriptionInvalidDescriptionException
- if the description is insufficient for the validation to take place
-
-