XmlHandler
Keywords: uk.ac.ic.doc.automed.p2p.util.XmlHandler class

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

## uk.ac.ic.doc.automed.p2p.util
Class XmlHandler

    java.lang.Object
      uk.ac.ic.doc.automed.p2p.util.XmlHandler

    public class XmlHandler

extends java.lang.Object

Constructor Summary
`XmlHandler()`

Method Summary
`static java.lang.String` | `asString(org.w3c.dom.Document document)`
`static org.w3c.dom.Document` | `newDocument()`
`static org.w3c.dom.Document` | `parseFile(java.io.File file)`
`static org.w3c.dom.Document` | `parseInputStream(java.io.InputStream is)`
`static org.w3c.dom.Document` | `parseString(java.lang.String xml)`
`static void` | `serialize(org.w3c.dom.Document document, java.io.OutputStream out)`

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

Constructor Detail

### XmlHandler

    public XmlHandler()

Method Detail

### parseFile

    public static org.w3c.dom.Document parseFile(java.io.File file)

### parseString

    public static org.w3c.dom.Document parseString(java.lang.String xml)

### parseInputStream

    public static org.w3c.dom.Document parseInputStream(java.io.InputStream is)

### serialize

    public static void serialize(org.w3c.dom.Document document,
                                 java.io.OutputStream out)
                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### asString

    public static java.lang.String asString(org.w3c.dom.Document document)

### newDocument

    public static org.w3c.dom.Document newDocument()

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