|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.xml.XmlMiniParser
A simple, fast event oriented XML parser.
Field Summary | |
static java.lang.String |
code_id
|
static int |
ERR_XMLP_INTERNAL
|
static int |
ERR_XMLP_SYNTAX
|
static int |
MAX_LOOKAHEAD
Maximum size of the lookahead buffer. |
static int |
MAX_TOKEN
Maximum size of a token. |
Constructor Summary | |
XmlMiniParser()
|
Method Summary | |
void |
close()
|
java.lang.String |
getToken()
Gets the contents of the token buffer as a string. |
void |
parse()
Launches the parsing process. |
void |
reset()
Resets the parser to its initial state. |
void |
setHandler(XmlEventHandler h)
Set the handler |
void |
setString(java.lang.String src)
|
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 code_id
public static final int ERR_XMLP_INTERNAL
public static final int ERR_XMLP_SYNTAX
public static final int MAX_TOKEN
public static final int MAX_LOOKAHEAD
Constructor Detail |
public XmlMiniParser()
Method Detail |
public void close()
public void setString(java.lang.String src)
public void reset()
public void setHandler(XmlEventHandler h)
public java.lang.String getToken()
public void parse() throws XmlParserException
XmlParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |