API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.parsers. SAXParser View Source
Author(s)
Jeff Suttor
Since
Version
$Revision: 1.4 $, $Date: 2005/11/03 19:34:15 $
Serial
Hierarchy
 Object
      SAXParser
Implements
Subclasses
Description
publicabstract abstract class SAXParser
  Defines the API that wraps an XMLReader implementation class.
See also:   
Constructors
protected SAXParser ()
  Protected constructor to prevent instaniation.
Methods
Hide/Show inherited methods
publicabstract Parser getParser () throws SAXException
  Returns the SAX parser that is encapsultated by the implementation of this class.
publicabstract Object getProperty (String name) throws SAXNotRecognizedException SAXNotSupportedException
  Returns the particular property requested for in the underlying implementation of XMLReader.
public Schema getSchema ()
  Get a reference to the the Schema being used by the XML processor.
publicabstract XMLReader getXMLReader () throws SAXException
  Returns the XMLReader that is encapsulated by the implementation of this class.
publicabstract boolean isNamespaceAware ()
  Indicates whether or not this parser is configured to understand namespaces.
publicabstract boolean isValidating ()
  Indicates whether or not this parser is configured to validate XML documents.
public boolean isXIncludeAware ()
  Get the XInclude processing mode for this parser.
public void parse (File f, DefaultHandler dh) throws SAXException IOException
  Parse the content of the file specified as XML using the specified DefaultHandler.
public void parse (File f, HandlerBase hb) throws SAXException IOException
  Parse the content of the file specified as XML using the specified HandlerBase.
public void parse (InputSource is, DefaultHandler dh) throws SAXException IOException
  Parse the content given InputSource as XML using the specified DefaultHandler.
public void parse (InputSource is, HandlerBase hb) throws SAXException IOException
  Parse the content given InputSource as XML using the specified HandlerBase.
public void parse (InputStream is, DefaultHandler dh) throws SAXException IOException
  Parse the content of the given InputStream instance as XML using the specified DefaultHandler.
public void parse (InputStream is, DefaultHandler dh, String systemId) throws SAXException IOException
  Parse the content of the given InputStream instance as XML using the specified DefaultHandler.
public void parse (InputStream is, HandlerBase hb) throws SAXException IOException
  Parse the content of the given InputStream instance as XML using the specified HandlerBase.
public void parse (InputStream is, HandlerBase hb, String systemId) throws SAXException IOException
  Parse the content of the given InputStream instance as XML using the specified HandlerBase.
public void parse (String uri, DefaultHandler dh) throws SAXException IOException
  Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler.
public void parse (String uri, HandlerBase hb) throws SAXException IOException
  Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified HandlerBase.
public void reset ()
  Reset this SAXParser to its original configuration.
publicabstract void setProperty (String name, Object value) throws SAXNotRecognizedException SAXNotSupportedException
  Sets the particular property in the underlying implementation of XMLReader.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar