Package org.xml.sax.helpers | |
This package contains utility classes that
are useful for programmers working with SAX parsers.
DefaultHandler is the most commonly used: it is a
default implementation of the four standard handler interfaces,
suitable for easy subclassing by an application.
XMLReaderFactory provides a layer
implementation-independence, allowing an application to use an
XMLReader implementation specified in a system
property. XMLFilterImpl is a no-op implementation
of the XMLFilter interface that also implements
the various handler interfaces necessary to connect the filter to its
"parent"
XMLReader. It does no filtering of its own, but is
easy to subclass to add filtering. If you need to work with legacy
APIs that expect or return SAX1 Parser objects,
you can use ParserAdapter to make a
Parser object behave like a SAX2
XMLReader object, or use an
XMLReaderAdapter to make an
XMLReader behave like a Parser.
Classes
public class AttributeListImpl implements org.xml.sax.AttributeList;
public class AttributesImpl implements org.xml.sax.Attributes;
public class DefaultHandler implements org.xml.sax.ContentHandler,
org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler;
public class LocatorImpl implements org.xml.sax.Locator;
public class NamespaceSupport;
public class ParserAdapter implements org.xml.sax.DocumentHandler,
org.xml.sax.XMLReader;
public class ParserFactory;
public class XMLFilterImpl implements org.xml.sax.ContentHandler,
org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler,
org.xml.sax.XMLFilter;
public class XMLReaderAdapter implements org.xml.sax.ContentHandler, org.xml.sax.Parser;
public final class XMLReaderFactory;
 |