XMLFilterXMLFilter extends XMLReader with two methods :
An XMLFilter is similar to an XMLReader , but it obtains its events from another XMLReader . Typically, the XMLFilter filters some or all of the events. Tip XMLFilterImpl , in the org.xml.sax.helpers package, is convenient when implementing filters. The class forwards the events from its parents to the appropriate event handlers. Your application needs to override only those events it must filter. |