XMLFilter interface is like an XML reader,
"except that it obtains its events from another XML reader
rather than a primary source like an XML document or database.
Filters can modify a stream of
events as they pass on to the final application."
The parent is the parser it gets the data from.
Only two methods in the interface:
public void setParent(XMLReader parent) public XMLReader getParent()
XMLFilterImpl is a default filter that simply passes along
all events it receives:
public class XMLFilterImpl implements XMLFilter, EntityResolver, DTDHandler,
Only new methods are constructors:
public XMLFilterImpl() public XMLFilterImpl(XMLReader parent)