|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xml2.XMLReaderImpl
public class XMLReaderImpl
A fast XML parser.
| Field Summary | |
|---|---|
static java.lang.String |
XMLNS
|
| Constructor Summary | |
|---|---|
XMLReaderImpl()
|
|
| Method Summary | |
|---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Gets the SAX content handler |
org.xml.sax.DTDHandler |
getDTDHandler()
Gets the SAX DTD handler |
org.xml.sax.EntityResolver |
getEntityResolver()
Gets the SAX entityResolver. |
org.xml.sax.ErrorHandler |
getErrorHandler()
Gets the SAX errorHandler. |
boolean |
getFeature(java.lang.String name)
Returns a SAX feature. |
java.lang.Object |
getProperty(java.lang.String name)
Returns a SAX property. |
void |
parse(org.xml.sax.InputSource source)
parses the input source. |
void |
parse(java.lang.String systemId)
Parses the file at the given string |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Sets the SAX content handler |
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
Sets the SAX DTD handler |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Sets the SAX entityResolver. |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
Sets the SAX errorHandler. |
void |
setFeature(java.lang.String name,
boolean value)
Sets a SAX feature. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a SAX property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XMLNS
| Constructor Detail |
|---|
public XMLReaderImpl()
| Method Detail |
|---|
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
All XMLReaders are required to recognize the http://xml.org/sax/features/namespaces and the http://xml.org/sax/features/namespace-prefixes feature names.
getFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.XMLReaderresolver - the entity resolverpublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.XMLReaderhandler - the dtd handlerpublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReaderhandler - the content handlerpublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderhandler - the content handlerpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.XMLReaderhandler - the error handlerpublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReaderhandler - the error handler
public void parse(org.xml.sax.InputSource source)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReadersource - the source to parse from
java.io.IOException
org.xml.sax.SAXException
public void parse(java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderurl - the source url to parse from
java.io.IOException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||