|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.xml2.XMLParserImpl
public class XMLParserImpl
A fast XML parser.
Field Summary | |
---|---|
static java.lang.String |
XMLNS
|
Constructor Summary | |
---|---|
XMLParserImpl()
|
Method Summary | |
---|---|
void |
parse(org.xml.sax.InputSource source)
parses the input source. |
void |
parse(java.lang.String source)
parses the file at the given string |
void |
setDocumentHandler(org.xml.sax.DocumentHandler handler)
Sets the SAX document 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 |
setLocale(java.util.Locale locale)
Sets the SAX locale |
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 XMLParserImpl()
Method Detail |
---|
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.Parser
handler
- the error handlerpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.Parser
resolver
- the entity resolverpublic void setDocumentHandler(org.xml.sax.DocumentHandler handler)
setDocumentHandler
in interface org.xml.sax.Parser
handler
- the document handlerpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.Parser
handler
- the dtd handlerpublic void setLocale(java.util.Locale locale)
setLocale
in interface org.xml.sax.Parser
locale
- localepublic void parse(org.xml.sax.InputSource source) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.Parser
source
- the source to parse from
java.io.IOException
org.xml.sax.SAXException
public void parse(java.lang.String source) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.Parser
url
- 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 |