|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.echomine.jabber.parser.JabberXPPParser
public class JabberXPPParser
This uses the XML Pull Parser as the underlying xml parser. As XPP is a pull-based parser, it requires a SAX-based driver (provided with XPP) to translate the pull parsing events into SAX events.
| Constructor Summary | |
|---|---|
JabberXPPParser()
|
|
| Method Summary | |
|---|---|
void |
parse(boolean validating,
boolean namespaceAware,
JabberContentHandler contentHandler,
JabberErrorHandler errorHandler,
org.xml.sax.InputSource reader)
this method will create the parser, set the handlers, and run the parser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JabberXPPParser()
| Method Detail |
|---|
public void parse(boolean validating,
boolean namespaceAware,
JabberContentHandler contentHandler,
JabberErrorHandler errorHandler,
org.xml.sax.InputSource reader)
parse in interface JabberSAXParservalidating - whether to validate the document or not based on the DTDnamespaceAware - whether the parser should be aware of namespacescontentHandler - the content handler class for receiving the sax eventserrorHandler - optional handler to receive error events (null if not used)reader - the stream to read the document from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||