org.enhydra.apache.xerces.jaxp
Class SAXParserImpl

java.lang.Object
  |
  +--javax.xml.parsers.SAXParser
        |
        +--org.enhydra.apache.xerces.jaxp.SAXParserImpl

public class SAXParserImpl
extends SAXParser

This is the implementation specific class for the javax.xml.parsers.SAXParser.


Constructor Summary
(package private) SAXParserImpl(SAXParserFactory spf, Hashtable features)
          Create a SAX parser with the associated features
 
Method Summary
 Parser getParser()
           
 Object getProperty(String name)
          returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
 XMLReader getXMLReader()
          Returns the XMLReader that is encapsulated by the implementation of this class.
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 void setProperty(String name, Object value)
          Sets the particular property in the underlying implementation of org.xml.sax.XMLReader.
 
Methods inherited from class javax.xml.parsers.SAXParser
getSchema, isXIncludeAware, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, reset
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXParserImpl

SAXParserImpl(SAXParserFactory spf,
              Hashtable features)
        throws SAXException
Create a SAX parser with the associated features
Parameters:
features - Hashtable of SAX features, may be null
Method Detail

getParser

public Parser getParser()
                 throws SAXException
Overrides:
getParser in class SAXParser

getXMLReader

public XMLReader getXMLReader()
Returns the XMLReader that is encapsulated by the implementation of this class.
Overrides:
getXMLReader in class SAXParser

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class SAXParser

isValidating

public boolean isValidating()
Overrides:
isValidating in class SAXParser

setProperty

public void setProperty(String name,
                        Object value)
                 throws SAXNotRecognizedException,
                        SAXNotSupportedException
Sets the particular property in the underlying implementation of org.xml.sax.XMLReader.
Overrides:
setProperty in class SAXParser

getProperty

public Object getProperty(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
Overrides:
getProperty in class SAXParser


Copyright © 1999 The Apache Software Foundation. All Rights reserved.