public abstract class AbstractSaxExpressionHandler<V> extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
protected SaxExpression[] |
expressions |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSaxExpressionHandler(SaxExpression... expressions) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
protected void |
clearText() |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
protected String |
getText() |
abstract V |
getValue() |
V |
parse(InputStream inputStream) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningprotected final SaxExpression[] expressions
protected AbstractSaxExpressionHandler(SaxExpression... expressions)
public final void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerprotected void clearText()
public void endDocument()
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerprotected String getText()
public abstract V getValue()
public V parse(InputStream inputStream) throws ParserConfigurationException, SAXException, IOException
public void startDocument()
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerpublic void startElement(String uri, String localName, String qName, Attributes attributes)
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerCopyright © 2013–2015 shadowhunt. All rights reserved.