public class JabberXPPParser extends java.lang.Object implements JabberSAXParser
| Constructor and Description |
|---|
JabberXPPParser() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 fromCopyright © 2001-2005 Echomine. All Rights Reserved.