Uses of Interface
gov.nasa.pds.tools.validate.ProblemHandler
-
Packages that use ProblemHandler 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. -
-
Uses of ProblemHandler in gov.nasa.pds.tools.label
Methods in gov.nasa.pds.tools.label that return ProblemHandler Modifier and Type Method Description ProblemHandler
CachedLSResourceResolver. getProblemHandler()
Methods in gov.nasa.pds.tools.label with parameters of type ProblemHandler Modifier and Type Method Description List<String>
LabelValidator. getSchematrons(NodeList nodeList, URL url, ProblemHandler handler)
Document
LabelValidator. parseAndValidate(ProblemHandler handler, URL url)
Parses and validates a label against the schema and Schematron files, and returns the parsed XML.void
CachedLSResourceResolver. setProblemHandler(ProblemHandler handler)
Transformer
SchematronTransformer. transform(URL schematron, ProblemHandler handler)
Transform the given schematron.Transformer
SchematronTransformer. transform(Source source, ProblemHandler handler)
Transform the given schematron source.void
LabelValidator. validate(ProblemHandler handler, File labelFile)
void
LabelValidator. validate(ProblemHandler handler, URL url)
Validates the label against schema and schematron constraints.void
LabelValidator. validate(ProblemHandler handler, URL url, String labelExtension)
Constructors in gov.nasa.pds.tools.label with parameters of type ProblemHandler Constructor Description CachedLSResourceResolver(ProblemHandler handler)
Constructor.LabelErrorHandler(ProblemHandler handler)
TransformerErrorListener(ProblemHandler handler)
Constructor. -
Uses of ProblemHandler in gov.nasa.pds.tools.label.validate
Methods in gov.nasa.pds.tools.label.validate with parameters of type ProblemHandler Modifier and Type Method Description boolean
DefaultDocumentValidator. validate(ProblemHandler handler, Source xml)
boolean
DocumentValidator. validate(ProblemHandler handler, Source xml)
Method signature for checking to see if a label is valid.boolean
ExternalValidator. validate(ProblemHandler handler, File labelFile)
Method signature for checking to see if a label is valid.boolean
ExternalValidator. validate(ProblemHandler handler, URL url)
Method signature for checking to see if a label is valid. -
Uses of ProblemHandler in gov.nasa.pds.tools.validate
Subinterfaces of ProblemHandler in gov.nasa.pds.tools.validate Modifier and Type Interface Description interface
ProblemListener
Defines an interface for receiving problems during the validation.interface
ValidateProblemHandler
Defines an interface for handling exceptions during label validation.Classes in gov.nasa.pds.tools.validate that implement ProblemHandler Modifier and Type Class 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. -
Uses of ProblemHandler in gov.nasa.pds.tools.validate.rule.pds4
Classes in gov.nasa.pds.tools.validate.rule.pds4 that implement ProblemHandler Modifier and Type Class Description class
ProblemProcessor
Implements a ProblemHandler for XML parsing and Schematron errors.
-