gov.nasa.pds.tools.object.validate
Class TableValidator

java.lang.Object
  extended by gov.nasa.pds.tools.object.validate.TableValidator
All Implemented Interfaces:
DataObjectValidator

public class TableValidator
extends Object
implements DataObjectValidator

Version:
$Revision: 4967 $
Author:
pramirez, jagander

Constructor Summary
TableValidator()
           
 
Method Summary
 void validate(DataObjectInputStream input, ObjectStatement object)
          Validates the bytes in the object against the description in the ObjectStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableValidator

public TableValidator()
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 the ObjectStatement

Specified by:
validate in interface DataObjectValidator
Parameters:
input - bytes of the data object
object - 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 description
InvalidDescriptionException - if the description is insufficient for the validation to take place


Copyright © 2005-2011 Planetary Data System. All Rights Reserved.