gov.nasa.pds.validate.schema
Class SchemaValidator

java.lang.Object
  extended by gov.nasa.pds.validate.schema.SchemaValidator

public class SchemaValidator
extends Object

Class to validate schemas.

Author:
mcayanan

Constructor Summary
SchemaValidator(EntityResolver resolver)
          Constructor.
 
Method Summary
 gov.nasa.pds.tools.label.ExceptionContainer validate(URL schema)
          Validate the given schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaValidator

public SchemaValidator(EntityResolver resolver)
Constructor.

Parameters:
resolver - An entity resolver.
Method Detail

validate

public gov.nasa.pds.tools.label.ExceptionContainer validate(URL schema)
Validate the given schema.

Parameters:
schema - URL of the schema.
Returns:
An ExceptionContainer that contains any problems that were found during validation.


Copyright © 2010–2015 Planetary Data System. All rights reserved.