public class SchemaValidator
extends java.lang.Object
Constructor and Description |
---|
SchemaValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CachedLSResourceResolver |
getCachedLSResolver() |
void |
setExternalLocations(java.lang.String locations) |
ProblemContainer |
validate(javax.xml.transform.stream.StreamSource schema)
Validate the given schema.
|
public ProblemContainer validate(javax.xml.transform.stream.StreamSource schema)
schema
- URL of the schema.public void setExternalLocations(java.lang.String locations) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public CachedLSResourceResolver getCachedLSResolver()
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.