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 java.lang.Object
implements DataObjectValidator

Version:
$Revision: 2607 $
Author:
pramirez

Constructor Summary
TableValidator()
           
 
Method Summary
 void validate(DataObjectInputStream input, ObjectStatement object)
          Validates the bytes in the object against the decription 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 decription 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 insuffcient for the validation to take place


Copyright © 2005-2008 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.