private static class DefaultDocLocator.LazyPassthru
extends DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
private StringBuffer |
charBuf |
private ContentHandler |
lazyHandler |
private boolean |
stripWhitespace |
| Constructor and Description |
|---|
LazyPassthru(ContentHandler lazyHandler,
boolean stripWhitespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
private void |
flushCharacters() |
void |
processingInstruction(String target,
String data) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
private StringBuffer charBuf
private ContentHandler lazyHandler
private boolean stripWhitespace
public LazyPassthru(ContentHandler lazyHandler,
boolean stripWhitespace)
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXExceptionpublic void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void processingInstruction(String target,
String data)
throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerprivate void flushCharacters()
throws SAXException
SAXException