public class SemEvalLexSubReader.SemEvalHandler extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
SemEvalLexSubReader.SemEvalHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Appends the text to the current context.
|
void |
endElement(String uri,
String localName,
String name)
Ends the current context and stores all of the information in
contexts. |
void |
startElement(String uri,
String localName,
String name,
Attributes atts)
Extracts the instance id for the current context.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String name) throws SAXException
contexts.endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2012. All Rights Reserved.