The XMLFilter Interface
An XMLFilter
is an
XMLReader
that obtains its events from another parent XMLReader
, rather than reading it from a
text source such as InputStream
. Filters can sit between the
original source XML and the application and modify data in the
original source before passing it to the application. Implementing
this interface directly is unusual. It is almost always much
easier to use the more complete org.xml.sax.helpers.XMLFilterImpl
class
instead.
package org.xml.sax; public interfaceXMLFilter
extends XMLReader { public voidsetParent
(XMLReaderparent
); public XMLReadergetParent
( ); }