API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax.helpers. ParserAdapter View Source
Author(s)
David Megginson
Since
SAX 2.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      ParserAdapter
Implements
 XMLReader
 DocumentHandler
Subclasses
Description
public class ParserAdapter
  Adapt a SAX1 Parser as a SAX2 XMLReader.
Constructors
public ParserAdapter () throws SAXException
  Construct a new parser adapter.
public ParserAdapter (Parser parser)
  Construct a new parser adapter.
Methods
Hide/Show inherited methods
public void characters (char[] ch, int start, int length) throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public void endDocument () throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public void endElement (String qName) throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public ContentHandler getContentHandler () [Specified in XMLReader]
  Return the current content handler.
public DTDHandler getDTDHandler () [Specified in XMLReader]
  Return the current DTD handler.
public EntityResolver getEntityResolver () [Specified in XMLReader]
  Return the current entity resolver.
public ErrorHandler getErrorHandler () [Specified in XMLReader]
  Return the current error handler.
public boolean getFeature (String name) throws SAXNotRecognizedException SAXNotSupportedException [Specified in XMLReader]
  Check a parser feature flag.
public Object getProperty (String name) throws SAXNotRecognizedException SAXNotSupportedException [Specified in XMLReader]
  Get a parser property.
public void ignorableWhitespace (char[] ch, int start, int length) throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public void parse (InputSource input) throws IOException SAXException [Specified in XMLReader]
  Parse an XML document.
public void parse (String systemId) throws IOException SAXException [Specified in XMLReader]
  Parse an XML document.
public void processingInstruction (String target, String data) throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
pack-private void reportError (String message) throws SAXException
  Report a non-fatal error.
public void setContentHandler (ContentHandler handler) [Specified in XMLReader]
  Set the content handler.
public void setDocumentLocator (Locator locator) [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public void setDTDHandler (DTDHandler handler) [Specified in XMLReader]
  Set the DTD handler.
public void setEntityResolver (EntityResolver resolver) [Specified in XMLReader]
  Set the entity resolver.
public void setErrorHandler (ErrorHandler handler) [Specified in XMLReader]
  Set the error handler.
public void setFeature (String name, boolean value) throws SAXNotRecognizedException SAXNotSupportedException [Specified in XMLReader]
  Set a feature flag for the parser.
public void setProperty (String name, Object value) throws SAXNotRecognizedException SAXNotSupportedException [Specified in XMLReader]
  Set a parser property.
public void startDocument () throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
public void startElement (String qName, AttributeList qAtts) throws SAXException [Specified in DocumentHandler]
  Adapter implementation method; do not call.
Fields
Hide/Show inherited fields
pack-private ContentHandler contentHandler
pack-private DTDHandler dtdHandler
pack-private EntityResolver entityResolver
pack-private ErrorHandler errorHandler
pack-private Locator locator
Nested Classes
  ParserAdapter.AttributeListAdapter
Adapt a SAX1 AttributeList as a SAX2 Attributes object.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar