public interface DataObjectValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(DataObjectInputStream input,
ObjectStatement object)
Validates the bytes in the object against the description in the
ObjectStatement |
void validate(DataObjectInputStream input, ObjectStatement object) throws InvalidObjectException, InvalidDescriptionException
ObjectStatement
input
- bytes of the data objectobject
- The description of the object consists of a set of attribute
statementsInvalidObjectException
- if there is a problem with the bytes in accordance with the
descriptionInvalidDescriptionException
- if the description is insufficient for the validation to take
placeCopyright © 2005–2015 Planetary Data System. All rights reserved.