public class DocumentFilter extends Object implements DocumentHandler
| Modifier and Type | Field and Description |
|---|---|
DocumentHandler |
next |
| Constructor and Description |
|---|
DocumentFilter(DocumentHandler next) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int start,
int len) |
void |
endDocument() |
void |
endElement(String name) |
void |
ignorableWhitespace(char[] buf,
int start,
int len) |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator loc) |
void |
startDocument() |
void |
startElement(String name,
AttributeList atts) |
public DocumentHandler next
public DocumentFilter(DocumentHandler next)
public void startDocument()
throws SAXException
startDocument in interface DocumentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface DocumentHandlerSAXExceptionpublic void startElement(String name, AttributeList atts) throws SAXException
startElement in interface DocumentHandlerSAXExceptionpublic void endElement(String name) throws SAXException
endElement in interface DocumentHandlerSAXExceptionpublic void characters(char[] buf,
int start,
int len)
throws SAXException
characters in interface DocumentHandlerSAXExceptionpublic void ignorableWhitespace(char[] buf,
int start,
int len)
throws SAXException
ignorableWhitespace in interface DocumentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface DocumentHandlerSAXExceptionpublic void setDocumentLocator(Locator loc)
setDocumentLocator in interface DocumentHandlerCopyright © 2016 Oracle Corporation. All Rights Reserved.