org.jboss.seam.util
Class XML
java.lang.Object
org.jboss.seam.util.XML
public class XML
- extends Object
Constructor Summary |
XML()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML
public XML()
getRootElement
public static org.dom4j.Element getRootElement(InputStream stream)
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
getRootElementSafely
public static org.dom4j.Element getRootElementSafely(InputStream stream)
throws org.dom4j.DocumentException
- Parses an XML document safely, as to not resolve any external DTDs
- Throws:
org.dom4j.DocumentException