The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
jmt.application.xml
Class XMLUtil
java.lang.Object
|
+--jmt.application.xml.XMLUtil
- public final class XMLUtil
- extends java.lang.Object
Collection of static methods to ease xml access.
- Author:
- Martin Kersten
|
Method Summary |
static org.w3c.dom.Document |
getXMLDocument(java.io.File file)
Creates a DOM document within a xml-file using a
non-validation parser. |
static void |
processDocument(org.w3c.dom.Document document,
NodeHandler handler)
Handles the document elements using the ElementNodeHandler.
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtil
public XMLUtil()
getXMLDocument
public static org.w3c.dom.Document getXMLDocument(java.io.File file)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- Creates a DOM document within a xml-file using a
non-validation parser.
- Parameters:
file - The xml-file to read from.
- Returns:
- The document generated from the xml-file
- Throws:
org.xml.sax.SAXException - Deligated exception of the parser.
javax.xml.parsers.ParserConfigurationException - Deligated exception of the parser.
java.io.IOException - If an i/o-exception happend.
processDocument
public static void processDocument(org.w3c.dom.Document document,
NodeHandler handler)
- Handles the document elements using the ElementNodeHandler.
This method may be used to interpret a DOM document.