Module java.xml

Class XMLReaderAdapter

All Implemented Interfaces:
ContentHandler, Parser

public class XMLReaderAdapter
extends Object
implements Parser, ContentHandler
Adapt a SAX2 XMLReader as a SAX1 Parser.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See for further information.

This class wraps a SAX2 XMLReader and makes it act as a SAX1 Parser. The XMLReader must support a true value for the property or parsing will fail with a SAXException; if the XMLReader supports a false value for the property, that will also be used to improve efficiency.

1.4, SAX 2.0
See Also:
Parser, XMLReader