Package com.sun.msv.util.xml
Class DocumentFilter
java.lang.Object
com.sun.msv.util.xml.DocumentFilter
- All Implemented Interfaces:
DocumentHandler
SAX DocumentHandler event interceptor.
This object acts as a filter to DocumentHandler events.
Derived class should override methods of interest and
perform somethings.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] buf, int start, int len) voidvoidendElement(String name) voidignorableWhitespace(char[] buf, int start, int len) voidprocessingInstruction(String target, String data) voidvoidvoidstartElement(String name, AttributeList atts)
-
Field Details
-
next
-
-
Constructor Details
-
DocumentFilter
-
-
Method Details
-
startDocument
- Specified by:
startDocumentin interfaceDocumentHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceDocumentHandler- Throws:
SAXException
-
startElement
- Specified by:
startElementin interfaceDocumentHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceDocumentHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceDocumentHandler- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceDocumentHandler- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstructionin interfaceDocumentHandler- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocatorin interfaceDocumentHandler
-