Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.util
Class XML

    java.lang.Object
      org.jboss.seam.util.XML

    public class XML

extends Object

Nested Class Summary
`static class` | `XML.NullEntityResolver`

Constructor Summary
`XML()`

Method Summary
`static org.dom4j.Element` | `getRootElement(InputStream stream)`
`static org.dom4j.Element` | `getRootElementSafely(InputStream stream)` Parses an XML document safely, as to not resolve any external DTDs

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XML

    public XML()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD