public abstract class SmooksContentHandler extends DefaultHandler2 implements SAXEventReplay
| Constructor and Description |
|---|
SmooksContentHandler(ExecutionContext executionContext,
SmooksContentHandler parentContentHandler) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanup() |
void |
detachHandler() |
abstract void |
endElement(EndElementEvent endEvent) |
void |
endElement(String uri,
String localName,
String qName) |
ExecutionContext |
getExecutionContext() |
static SmooksContentHandler |
getHandler(ExecutionContext executionContext) |
NamespaceDeclarationStack |
getNamespaceDeclarationStack() |
SmooksContentHandler |
getNestedContentHandler() |
SmooksContentHandler |
getParentContentHandler() |
void |
replay(ContentHandler handler)
Replay the last SAX event onto the supplied SAX
ContentHandler instance. |
void |
replayStartElement() |
void |
resetNestedContentHandler() |
abstract void |
startElement(StartElementEvent startEvent) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntitycharacters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic SmooksContentHandler(ExecutionContext executionContext, SmooksContentHandler parentContentHandler)
public NamespaceDeclarationStack getNamespaceDeclarationStack()
public void replayStartElement()
public final void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic abstract void startElement(StartElementEvent startEvent) throws SAXException
SAXExceptionpublic final void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic abstract void endElement(EndElementEvent endEvent) throws SAXException
SAXExceptionpublic void replay(ContentHandler handler) throws SmooksException
SAXEventReplayContentHandler instance.replay in interface SAXEventReplayhandler - The handler on whic to replay the last event.SmooksException - Error replaying last event.public static SmooksContentHandler getHandler(ExecutionContext executionContext)
public void detachHandler()
public ExecutionContext getExecutionContext()
public SmooksContentHandler getParentContentHandler()
public SmooksContentHandler getNestedContentHandler()
public void resetNestedContentHandler()
public abstract void cleanup()
Copyright © 2020. All rights reserved.