public class DomWrapper
extends java.lang.Object
| Constructor and Description |
|---|
DomWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Document |
readFile(java.lang.String filePathName)
Reads a given XML file into a
DOM Document
object by means of a DocumentBuilder |
public static org.w3c.dom.Document readFile(java.lang.String filePathName)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
DOM Document
object by means of a DocumentBuilderfilePathName - the fully qualified name of the source fileorg.xml.sax.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationException