|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.xml.XMLDocumentParser
XMLDocumentParser provides methods to get org.w3c.dom.Document instances with data read from files.
| Constructor Summary | |
XMLDocumentParser()
|
|
| Method Summary | |
static org.w3c.dom.Document |
parse(java.io.File f)
Parses DOM Document from the filename given by File object. |
static org.w3c.dom.Document |
parse(java.lang.String URI)
Parses DOM Document from the filename given by the string argument. |
static org.w3c.dom.Document |
parseString(java.lang.String xmlData)
Parses given String as XML data. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLDocumentParser()
| Method Detail |
public static org.w3c.dom.Document parse(java.lang.String URI)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public static org.w3c.dom.Document parse(java.io.File f)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public static org.w3c.dom.Document parseString(java.lang.String xmlData)
throws ParseException
xmlData - String containing XML data
ParseException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||