Interface DataObjectValidator
-
- All Known Implementing Classes:
ImageValidator
,TableValidator
public interface DataObjectValidator
- Version:
- $Revision$
- Author:
- pramirez, jagander
-
-
Method Summary
All Methods Instance Methods Abstract 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
void validate(DataObjectInputStream input, ObjectStatement object) throws InvalidObjectException, InvalidDescriptionException
Validates the bytes in the object against the description in theObjectStatement
- 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
-
-