|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.parsers.SAXParser org.apache.crimson.jaxp.SAXParserImpl
This is the implementation specific class for the
javax.xml.parsers.SAXParser
.
Field Summary | |
private boolean |
namespaceAware
|
private org.xml.sax.Parser |
parser
|
private boolean |
validating
|
private org.xml.sax.XMLReader |
xmlReader
|
Constructor Summary | |
(package private) |
SAXParserImpl(javax.xml.parsers.SAXParserFactory spf,
Hashtable features)
Create a SAX parser with the associated features |
Method Summary | |
org.xml.sax.Parser |
getParser()
|
Object |
getProperty(String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
org.xml.sax.XMLReader |
getXMLReader()
Returns the XMLReader that is encapsulated by the implementation of this class. |
boolean |
isNamespaceAware()
|
boolean |
isValidating()
|
private void |
setFeatures(Hashtable features)
Set any features of our XMLReader based on any features set on the SAXParserFactory. |
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 |
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 |
Field Detail |
private org.xml.sax.XMLReader xmlReader
private org.xml.sax.Parser parser
private boolean validating
private boolean namespaceAware
Constructor Detail |
SAXParserImpl(javax.xml.parsers.SAXParserFactory spf, Hashtable features) throws org.xml.sax.SAXException
features
- Hashtable of SAX features, may be nullMethod Detail |
private void setFeatures(Hashtable features) throws org.xml.sax.SAXNotSupportedException, org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
public org.xml.sax.Parser getParser() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public org.xml.sax.XMLReader getXMLReader()
public boolean isNamespaceAware()
public boolean isValidating()
public void setProperty(String name, Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public Object getProperty(String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |