|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.expr.XMLParser
This class parses a XML string token to a DOM document.
| Yellow (yuhong) |
| Yellow (nsmyth) |
| Constructor Summary | |
XMLParser()
|
|
| Method Summary | |
org.w3c.dom.Document |
parser(java.io.InputStream is)
Generate the document tree for the specified input stream. |
org.w3c.dom.Document |
parser(java.lang.String str)
Generate the document tree for the specified XML string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLParser()
throws java.lang.Exception
| Method Detail |
public org.w3c.dom.Document parser(java.lang.String str)
throws java.lang.Exception
str - The XML string to be parsed.
java.lang.Exception - If the parse fails.
public org.w3c.dom.Document parser(java.io.InputStream is)
throws java.lang.Exception
is - The input steam to be parsed.
java.lang.Exception - If the parse fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||