public class XCasToCasDataSaxHandler extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
XCasToCasDataSaxHandler(CasData aCasData)
Create new XCasToCasDataSaxHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] chars,
int start,
int length) |
void |
endDocument() |
void |
endElement(String nsURI,
String localName,
String qualifiedName) |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2) |
void |
setDocumentLocator(Locator loc) |
void |
startDocument() |
void |
startElement(String nameSpaceURI,
String localName,
String qualifiedName,
Attributes attrs) |
void |
warning(SAXParseException e) |
endPrefixMapping, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDeclpublic XCasToCasDataSaxHandler(CasData aCasData)
aCasData - the CasData to which FeatureStructures parsed from XCAS will be appendedpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void startElement(String nameSpaceURI, String localName, String qualifiedName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] chars,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String nsURI, String localName, String qualifiedName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlererror in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlerfatalError in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void setDocumentLocator(Locator loc)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class org.xml.sax.helpers.DefaultHandlerpublic void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlerwarning in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2015. All rights reserved.