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 ContentHandler
startDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
private void flushCharacters() throws SAXException
SAXException