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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] buf, int start, int len) void
void
endElement
(String name) void
ignorableWhitespace
(char[] buf, int start, int len) void
processingInstruction
(String target, String data) void
void
void
startElement
(String name, AttributeList atts)
-
Field Details
-
next
-
-
Constructor Details
-
DocumentFilter
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceDocumentHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceDocumentHandler
- Throws:
SAXException
-
startElement
- Specified by:
startElement
in interfaceDocumentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceDocumentHandler
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceDocumentHandler
- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceDocumentHandler
- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceDocumentHandler
- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceDocumentHandler
-