public class SAXHandler extends SmooksContentHandler
Constructor and Description |
---|
SAXHandler(ExecutionContext executionContext,
Writer writer) |
SAXHandler(ExecutionContext executionContext,
Writer writer,
SmooksContentHandler parentContentHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
cleanup() |
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endElement(EndElementEvent endEvent) |
void |
endEntity(String name) |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement(StartElementEvent startEvent) |
void |
startEntity(String name) |
detachHandler, endElement, getExecutionContext, getHandler, getNamespaceDeclarationStack, getNestedContentHandler, getParentContentHandler, replay, replayStartElement, resetNestedContentHandler, startElement
attributeDecl, elementDecl, endDTD, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity
endDocument, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public SAXHandler(ExecutionContext executionContext, Writer writer)
public SAXHandler(ExecutionContext executionContext, Writer writer, SmooksContentHandler parentContentHandler)
public void cleanup()
cleanup
in class SmooksContentHandler
public void startElement(StartElementEvent startEvent) throws SAXException
startElement
in class SmooksContentHandler
SAXException
public void endElement(EndElementEvent endEvent) throws SAXException
endElement
in class SmooksContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class DefaultHandler
SAXException
public void comment(char[] ch, int start, int length) throws SAXException
comment
in interface LexicalHandler
comment
in class DefaultHandler2
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
startCDATA
in class DefaultHandler2
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
endCDATA
in class DefaultHandler2
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
startEntity
in class DefaultHandler2
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
endEntity
in class DefaultHandler2
SAXException
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
startDTD
in class DefaultHandler2
SAXException
Copyright © 2020. All rights reserved.