public class SchemaValidator extends Object
Constructor and Description |
---|
SchemaValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
gov.nasa.pds.tools.label.CachedLSResourceResolver |
getCachedLSResolver() |
void |
setExternalLocations(String locations) |
gov.nasa.pds.tools.label.ExceptionContainer |
validate(StreamSource schema)
Validate the given schema.
|
public SchemaValidator()
resolver
- An entity resolver.public gov.nasa.pds.tools.label.ExceptionContainer validate(StreamSource schema)
schema
- URL of the schema.public void setExternalLocations(String locations) throws SAXNotRecognizedException, SAXNotSupportedException
public gov.nasa.pds.tools.label.CachedLSResourceResolver getCachedLSResolver()
Copyright © 2010–2015 Planetary Data System. All rights reserved.