Package gov.nasa.pds.tools.util
Class LabelParser
- java.lang.Object
-
- gov.nasa.pds.tools.util.LabelParser
-
- All Implemented Interfaces:
net.sf.saxon.lib.ErrorReporter
public class LabelParser extends Object implements net.sf.saxon.lib.ErrorReporter
-
-
Constructor Summary
Constructors Constructor Description LabelParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static net.sf.saxon.om.TreeInfo
parse(Source source, boolean ignoreErrors)
Parses a label.void
report(net.sf.saxon.s9api.XmlProcessingError error)
-
-
-
Method Detail
-
parse
public static net.sf.saxon.om.TreeInfo parse(Source source, boolean ignoreErrors) throws TransformerException
Parses a label.- Parameters:
source
- the source to parse.- Returns:
- a DocumentInfo object.
- Throws:
TransformerException
-
report
public void report(net.sf.saxon.s9api.XmlProcessingError error)
- Specified by:
report
in interfacenet.sf.saxon.lib.ErrorReporter
-
-