|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.l2fprod.contrib.nanoxml.sax.SAXParser
This is the SAX adapter for NanoXML. Note that this adapter is provided to make NanoXML "buzzword compliant". If you're not stuck with SAX compatibility, you should use the basic API (nanoxml.NanoXML) which is much more programmer-friendly as it doesn't require the cumbersome use of event handlers and has more powerful attribute-handling methods, but that is just IMHO. If you really want to use the SAX API, I would like you to point to the currently available native SAX parsers.
Here are some important notes:
<!ENTITY...>.
$Revision: 1.2 $
$Date: 2001/07/29 20:31:09 $
nanoxml.sax.SAXLocator,
nanoxml.XMLElement| Constructor Summary | |
SAXParser()
Initializes the SAX parser adapter. |
|
| Method Summary | |
void |
parse(org.xml.sax.InputSource source)
Parses an XML document. |
void |
parse(java.lang.String systemId)
Parses an XML document from a system identifier (URI). |
void |
setDocumentHandler(org.xml.sax.DocumentHandler handler)
Allows an application to register a document event handler. |
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
Sets the DTD handler. |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Sets the entity resolver. |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
Allows an applicaiton to register an error event handler. |
void |
setLocale(java.util.Locale locale)
Sets the locale. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SAXParser()
| Method Detail |
public void setLocale(java.util.Locale locale)
throws org.xml.sax.SAXException
setLocale in interface org.xml.sax.Parserorg.xml.sax.SAXException - if locale is null or the associated
language is not english.public void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.Parserpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.Parserpublic void setDocumentHandler(org.xml.sax.DocumentHandler handler)
setDocumentHandler in interface org.xml.sax.Parserpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.Parser
public void parse(org.xml.sax.InputSource source)
throws org.xml.sax.SAXException,
java.io.IOException
parse in interface org.xml.sax.Parserorg.xml.sax.SAXException - if one of the handlers throws such exception
java.io.IOException - if an I/O exception occured while trying to read the document
public void parse(java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
parse in interface org.xml.sax.Parserorg.xml.sax.SAXException - if one of the handlers throws such exception
java.io.IOException - if an I/O exception occured while trying to read the document
|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||