public final class XML extends Object
Modifier and Type | Method and Description |
---|---|
static DocumentBuilderFactory |
getBuilderFactory() |
static String |
toString(Document doc) |
static String |
toString(Document doc,
org.apache.xml.serialize.OutputFormat format) |
static String |
toString(Element element) |
static String |
toString(Element element,
org.apache.xml.serialize.OutputFormat format) |
static void |
write(Document doc,
org.apache.xml.serialize.OutputFormat format,
OutputStream out) |
static void |
write(Document doc,
OutputStream out) |
static void |
write(Element element,
org.apache.xml.serialize.OutputFormat format,
OutputStream out) |
static void |
write(Element element,
OutputStream out) |
public static DocumentBuilderFactory getBuilderFactory()
public static String toString(Element element) throws IOException
IOException
public static String toString(Element element, org.apache.xml.serialize.OutputFormat format) throws IOException
IOException
public static String toString(Document doc) throws IOException
IOException
public static String toString(Document doc, org.apache.xml.serialize.OutputFormat format) throws IOException
IOException
public static void write(Element element, OutputStream out) throws IOException
IOException
public static void write(Element element, org.apache.xml.serialize.OutputFormat format, OutputStream out) throws IOException
IOException
public static void write(Document doc, OutputStream out) throws IOException
IOException
public static void write(Document doc, org.apache.xml.serialize.OutputFormat format, OutputStream out) throws IOException
IOException
Copyright © 2011 Nuxeo SA. All Rights Reserved.