Class LabelParser

  • All Implemented Interfaces:
    net.sf.saxon.lib.ErrorReporter

    public class LabelParser
    extends Object
    implements net.sf.saxon.lib.ErrorReporter
    • Constructor Detail

      • LabelParser

        public LabelParser()
    • 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 interface net.sf.saxon.lib.ErrorReporter