|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.parsers.SAXParser | +--org.enhydra.apache.xerces.jaxp.SAXParserImpl
This is the implementation specific class for the
javax.xml.parsers.SAXParser
.
Constructor Summary | |
(package private) |
SAXParserImpl(SAXParserFactory spf,
java.util.Hashtable features)
Create a SAX parser with the associated features |
Method Summary | |
Parser |
getParser()
Returns the SAX parser that is encapsultated by the implementation of this class. |
java.lang.Object |
getProperty(java.lang.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()
Indicates whether or not this parser is configured to understand namespaces. |
boolean |
isValidating()
Indicates whether or not this parser is configured to validate XML documents. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the particular property in the underlying implementation of org.xml.sax.XMLReader. |
Methods inherited from class javax.xml.parsers.SAXParser |
parse, parse, parse, parse, parse, parse, parse, parse, parse, parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
SAXParserImpl(SAXParserFactory spf, java.util.Hashtable features) throws SAXException
features
- Hashtable of SAX features, may be nullMethod Detail |
public Parser getParser() throws SAXException
SAXParser
getParser
in class SAXParser
SAXException
public XMLReader getXMLReader()
getXMLReader
in class SAXParser
public boolean isNamespaceAware()
SAXParser
isNamespaceAware
in class SAXParser
public boolean isValidating()
SAXParser
isValidating
in class SAXParser
public void setProperty(java.lang.String name, java.lang.Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty
in class SAXParser
name
- The name of the property to be set.value
- The value of the property to be set.
SAXNotRecognizedException
- When the underlying XMLReader does
not recognize the property name.
SAXNotSupportedException
- When the underlying XMLReader
recognizes the property name but doesn't support the
property.XMLReader.setProperty(java.lang.String, java.lang.Object)
public java.lang.Object getProperty(java.lang.String name) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty
in class SAXParser
name
- The name of the property to be retrieved.
SAXNotSupportedException
- When the underlying XMLReader
recognizes the property name but doesn't support the
property.
SAXNotRecognizedException
- When the underlying XMLReader does
not recognize the property name.XMLReader.getProperty(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |