|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.buglabs.util.XmlParser
public class XmlParser
XMLParser is a highly-simplified XML DOM parser. It does not support namespaces.
| Constructor Summary | |
|---|---|
XmlParser()
|
|
XmlParser(boolean ignoreNamespaces)
|
|
| Method Summary | |
|---|---|
boolean |
isIgnoreNamespaces()
|
XmlNode |
parse(java.io.Reader reader)
|
static XmlNode |
parse(java.io.Reader reader,
boolean ignoreNamespaces)
Parse a string containing XML into a tree of XMLElement nodes. |
static XmlNode |
parse(java.lang.String xml)
Parse a string containing XML into a tree of XMLElement nodes. |
static XmlNode |
parse(java.lang.String xml,
boolean ignoreNamespaces)
Parse a string containing XML into a tree of XMLElement nodes. |
void |
setIgnoreNamespaces(boolean ignoreNamespaces)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlParser()
public XmlParser(boolean ignoreNamespaces)
| Method Detail |
|---|
public static XmlNode parse(java.lang.String xml)
throws java.io.IOException
xml -
java.io.IOException
public static XmlNode parse(java.lang.String xml,
boolean ignoreNamespaces)
throws java.io.IOException
xml -
java.io.IOException
public static XmlNode parse(java.io.Reader reader,
boolean ignoreNamespaces)
throws java.io.IOException
xml -
java.io.IOException
public XmlNode parse(java.io.Reader reader)
throws java.io.IOException
java.io.IOExceptionpublic boolean isIgnoreNamespaces()
public void setIgnoreNamespaces(boolean ignoreNamespaces)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||