Package opennlp.tools.formats.letsmt
Class LetsmtDocument.LetsmtDocumentHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- LetsmtDocument
public static class LetsmtDocument.LetsmtDocumentHandler extends DefaultHandler
Acontent handler
to receive and process SAX events.
-
-
Constructor Summary
Constructors Constructor Description LetsmtDocumentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
-