public class SimpleContentHandler extends DefaultHandler
| Constructor and Description |
|---|
SimpleContentHandler(OutputStream out) |
SimpleContentHandler(OutputStream out,
Integer indent) |
SimpleContentHandler(Writer writer) |
SimpleContentHandler(Writer writer,
Integer indent) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String name) |
protected void |
flushCharacters(String characters) |
protected boolean |
mustEncodeCharachers() |
protected void |
resetCharacters() |
void |
startElement(String uri,
String localName,
String name,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic SimpleContentHandler(OutputStream out)
public SimpleContentHandler(OutputStream out, Integer indent)
public SimpleContentHandler(Writer writer)
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic final void endElement(String uri, String localName, String name) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic final void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionprotected boolean mustEncodeCharachers()
protected void flushCharacters(String characters) throws SAXException
SAXExceptionprotected void resetCharacters()
Copyright © 2015. All Rights Reserved.