Package | Description |
---|---|
gov.nasa.pds.tools.label | |
gov.nasa.pds.tools.label.validate | |
gov.nasa.pds.tools.validate.rule.pds4 |
Implementations of standards rules for the PDS4 data standard.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ValidateExceptionHandler
Defines an interface for handling exceptions during label validation.
|
Modifier and Type | Class and Description |
---|---|
class |
ExceptionContainer
Implements an exception handler that retains the exceptions in memory.
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
CachedLSResourceResolver.getExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
List<String> |
LabelValidator.getSchematrons(NodeList nodeList,
URL url,
ExceptionHandler exceptionHandler) |
Document |
LabelValidator.parseAndValidate(ExceptionHandler exceptionHandler,
URL url)
Parses and validates a label against the schema and Schematron files,
and returns the parsed XML.
|
void |
CachedLSResourceResolver.setExceptionHandler(ExceptionHandler container) |
Transformer |
SchematronTransformer.transform(Source source,
ExceptionHandler container)
Transform the given schematron source.
|
Transformer |
SchematronTransformer.transform(URL schematron,
ExceptionHandler container)
Transform the given schematron.
|
void |
LabelValidator.validate(ExceptionHandler exceptionHandler,
File labelFile) |
void |
LabelValidator.validate(ExceptionHandler exceptionHandler,
URL url)
Validates the label against schema and schematron constraints.
|
Constructor and Description |
---|
CachedLSResourceResolver(ExceptionHandler container)
Constructor.
|
LabelErrorHandler(ExceptionHandler exceptions) |
TransformerErrorListener(ExceptionHandler exceptions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileReferenceValidator.validate(ExceptionHandler container,
net.sf.saxon.om.DocumentInfo xml) |
boolean |
DocumentValidator.validate(ExceptionHandler container,
net.sf.saxon.om.DocumentInfo xml)
Method signature for checking to see if a label is valid.
|
boolean |
DefaultDocumentValidator.validate(ExceptionHandler container,
net.sf.saxon.om.DocumentInfo xml) |
boolean |
ExternalValidator.validate(ExceptionHandler container,
File labelFile)
Method signature for checking to see if a label is valid.
|
boolean |
ExternalValidator.validate(ExceptionHandler container,
URL url)
Method signature for checking to see if a label is valid.
|
Modifier and Type | Class and Description |
---|---|
class |
ExceptionProcessor
Implements an exception handler for XML parsing and Schematron
errors.
|
Copyright © 2010–2018 Planetary Data System. All rights reserved.