+++ /dev/null
-// XMLFilter.java - filter SAX2 events.\r
-// Written by David Megginson, sax@megginson.com\r
-// NO WARRANTY! This class is in the Public Domain.\r
-\r
-// $Id: XMLFilter.java,v 1.1 2000/10/02 02:43:17 sboag Exp $\r
-\r
-\r
-package org.xml.sax;\r
-\r
-\r
-/**\r
- * Interface for an XML filter.\r
- *\r
- * <blockquote>\r
- * <em>This module, both source code and documentation, is in the\r
- * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>\r
- * </blockquote>\r
- *\r
- * <p>An XML filter is like an XML reader, except that it obtains its\r
- * events from another XML reader rather than a primary source like\r
- * an XML document or database. Filters can modify a stream of\r
- * events as they pass on to the final application.</p>\r
- *\r
- * <p>The XMLFilterImpl helper class provides a convenient base\r
- * for creating SAX2 filters, by passing on all {@link org.xml.sax.EntityResolver\r
- * EntityResolver}, {@link org.xml.sax.DTDHandler DTDHandler},\r
- * {@link org.xml.sax.ContentHandler ContentHandler} and {@link org.xml.sax.ErrorHandler\r
- * ErrorHandler} events automatically.</p>\r
- *\r
- * @since SAX 2.0\r
- * @author David Megginson, \r
- * <a href="mailto:sax@megginson.com">sax@megginson.com</a>\r
- * @version 2.0\r
- * @see org.xml.sax.helpers.XMLFilterImpl\r
- */\r
-public interface XMLFilter extends XMLReader\r
-{\r
-\r
- /**\r
- * Set the parent reader.\r
- *\r
- * <p>This method allows the application to link the filter to\r
- * a parent reader (which may be another filter). The argument\r
- * may not be null.</p>\r
- *\r
- * @param parent The parent reader.\r
- */\r
- public abstract void setParent (XMLReader parent);\r
-\r
-\r
- /**\r
- * Get the parent reader.\r
- *\r
- * <p>This method allows the application to query the parent\r
- * reader (which may be another filter). It is generally a\r
- * bad idea to perform any operations on the parent reader\r
- * directly: they should all pass through this filter.</p>\r
- *\r
- * @return The parent filter, or null if none has been set.\r
- */\r
- public abstract XMLReader getParent ();\r
-\r
-}\r
-\r
-// end of XMLFilter.java\r