Class DisambiguationRuleLoader

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

    public class DisambiguationRuleLoader
    extends org.xml.sax.helpers.DefaultHandler
    Loads DisambiguationPatternRules from a disambiguation rules XML file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<DisambiguationPatternRule> getRules​(java.io.InputStream stream)  
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

        characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisambiguationRuleLoader

        public DisambiguationRuleLoader()
    • Method Detail

      • getRules

        public final java.util.List<DisambiguationPatternRule> getRules​(java.io.InputStream stream)
                                                                 throws javax.xml.parsers.ParserConfigurationException,
                                                                        org.xml.sax.SAXException,
                                                                        java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException