Package | Description |
---|---|
gov.nasa.pds.tools.label | |
gov.nasa.pds.tools.label.validate | |
gov.nasa.pds.tools.validate |
Implementations of general-purpose classes for the validation
application.
|
gov.nasa.pds.tools.validate.rule.pds4 |
Implementations of standards rules for the PDS4 data standard.
|
Modifier and Type | Method and Description |
---|---|
ProblemHandler |
CachedLSResourceResolver.getProblemHandler() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
LabelValidator.getSchematrons(org.w3c.dom.NodeList nodeList,
java.net.URL url,
ProblemHandler handler) |
org.w3c.dom.Document |
LabelValidator.parseAndValidate(ProblemHandler handler,
java.net.URL url)
Parses and validates a label against the schema and Schematron files,
and returns the parsed XML.
|
void |
CachedLSResourceResolver.setProblemHandler(ProblemHandler handler) |
javax.xml.transform.Transformer |
SchematronTransformer.transform(javax.xml.transform.Source source,
ProblemHandler handler)
Transform the given schematron source.
|
javax.xml.transform.Transformer |
SchematronTransformer.transform(java.net.URL schematron,
ProblemHandler handler)
Transform the given schematron.
|
void |
LabelValidator.validate(ProblemHandler handler,
java.io.File labelFile) |
void |
LabelValidator.validate(ProblemHandler handler,
java.net.URL url)
Validates the label against schema and schematron constraints.
|
Constructor and Description |
---|
CachedLSResourceResolver(ProblemHandler handler)
Constructor.
|
LabelErrorHandler(ProblemHandler handler) |
TransformerErrorListener(ProblemHandler handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultDocumentValidator.validate(ProblemHandler handler,
net.sf.saxon.om.DocumentInfo xml) |
boolean |
DocumentValidator.validate(ProblemHandler handler,
net.sf.saxon.om.DocumentInfo xml)
Method signature for checking to see if a label is valid.
|
boolean |
FileReferenceValidator.validate(ProblemHandler handler,
net.sf.saxon.om.DocumentInfo xml) |
boolean |
ExternalValidator.validate(ProblemHandler handler,
java.io.File labelFile)
Method signature for checking to see if a label is valid.
|
boolean |
ExternalValidator.validate(ProblemHandler handler,
java.net.URL url)
Method signature for checking to see if a label is valid.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProblemListener
Defines an interface for receiving problems during the validation.
|
interface |
ValidateProblemHandler
Defines an interface for handling exceptions during label validation.
|
Modifier and Type | Class and Description |
---|---|
class |
ListenerExceptionPropagator
Listener class intended to propagate the problems to a handler for
further processing.
|
class |
ProblemContainer
Implements a problem listener that accumulates problems in a list.
|
Modifier and Type | Class and Description |
---|---|
class |
ProblemProcessor
Implements a ProblemHandler for XML parsing and Schematron
errors.
|
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.