gov.nasa.pds.validate
Class CollectionValidator
java.lang.Object
gov.nasa.pds.validate.Validator
gov.nasa.pds.validate.CollectionValidator
public class CollectionValidator
- extends Validator
Class that validates a PDS Collection file.
- Author:
- mcayanan
Method Summary |
void |
validate(File collection)
Validates a PDS Collection file and all files that it references to
inside the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionValidator
public CollectionValidator(Report report)
- Constructor.
- Parameters:
report
- A Report to capture the results of the validation.
validate
public void validate(File collection)
throws InventoryReaderException,
XPathExpressionException,
SAXException,
IOException,
ParserConfigurationException
- Validates a PDS Collection file and all files that it references to
inside the file.
- Specified by:
validate
in class Validator
- Parameters:
collection
- A PDS Collection file.
- Throws:
ParserConfigurationException
IOException
SAXException
XPathExpressionException
InventoryReaderException
Copyright © 2010-2011 Planetary Data System. All Rights Reserved.