public class TagHandler<R> extends org.xml.sax.helpers.DefaultHandler implements TagHandlerContext
| Constructor and Description |
|---|
TagHandler(R rootItem,
Stack<TagContext> tagContextStack,
ContextValue contextValue) |
TagHandler(R rootItem,
TagContext rootContext,
ContextValue contextValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
void |
error(SAXParseException spe) |
void |
fatalError(SAXParseException spe) |
String |
getPath() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextStack, getDocumentLocator, getItemStack, notOnStackpublic TagHandler(R rootItem, TagContext rootContext, ContextValue contextValue)
public TagHandler(R rootItem, Stack<TagContext> tagContextStack, ContextValue contextValue)
public String getPath()
getPath in interface TagHandlerContextpublic void startElement(String uri, String localName, String qName, Attributes attributes)
startElement in interface ContentHandlerstartElement 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.DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerpublic void error(SAXParseException spe) throws SAXException
error in interface ErrorHandlererror in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void fatalError(SAXParseException spe) throws SAXException
fatalError in interface ErrorHandlerfatalError in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2021. All rights reserved.