|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.xml.SimpleSAXParser
public final class SimpleSAXParser
Implementation that defines a simple way to define a SAX parser that feeds a ContentHandler instance
| Constructor Summary | |
|---|---|
SimpleSAXParser(org.xml.sax.ContentHandler handler,
org.xml.sax.ErrorHandler errorHandler)
Public constructor. |
|
| Method Summary | |
|---|---|
void |
parse(org.xml.sax.InputSource source)
Do the parsing. |
void |
parse(java.io.Reader reader)
Do the parsing. |
void |
parse(java.lang.String file)
Do the parsing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSAXParser(org.xml.sax.ContentHandler handler,
org.xml.sax.ErrorHandler errorHandler)
handler - The content handler to be fed by this parsererrorHandler - The not null error handler| Method Detail |
|---|
public final void parse(org.xml.sax.InputSource source)
throws java.io.IOException,
org.xml.sax.SAXException
source - The input source to the parser
java.io.IOException
org.xml.sax.SAXException
public final void parse(java.io.Reader reader)
throws java.io.IOException,
org.xml.sax.SAXException
reader - The input source to the parser
java.io.IOException
org.xml.sax.SAXException
public final void parse(java.lang.String file)
throws java.io.IOException,
org.xml.sax.SAXException
file - The input source to the parser
java.io.IOException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||