org.nuxeo.common.xmap
Class DOMSerializer
java.lang.Object
org.nuxeo.common.xmap.DOMSerializer
public final class DOMSerializer
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Method Summary |
static javax.xml.parsers.DocumentBuilderFactory |
getBuilderFactory()
|
static org.w3c.dom.DocumentFragment |
getContentAsFragment(org.w3c.dom.Element element)
|
static java.lang.String |
toString(org.w3c.dom.Document doc)
|
static java.lang.String |
toString(org.w3c.dom.DocumentFragment fragment)
|
static java.lang.String |
toString(org.w3c.dom.DocumentFragment fragment,
org.apache.xml.serialize.OutputFormat format)
|
static java.lang.String |
toString(org.w3c.dom.Document doc,
org.apache.xml.serialize.OutputFormat format)
|
static java.lang.String |
toString(org.w3c.dom.Element element)
|
static java.lang.String |
toString(org.w3c.dom.Element element,
org.apache.xml.serialize.OutputFormat format)
|
static java.lang.String |
toStringOmitXml(org.w3c.dom.Element element)
|
static void |
write(org.w3c.dom.DocumentFragment fragment,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
|
static void |
write(org.w3c.dom.DocumentFragment fragment,
java.io.OutputStream out)
|
static void |
write(org.w3c.dom.Document doc,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
|
static void |
write(org.w3c.dom.Document doc,
java.io.OutputStream out)
|
static void |
write(org.w3c.dom.Element element,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
|
static void |
write(org.w3c.dom.Element element,
java.io.OutputStream out)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBuilderFactory
public static javax.xml.parsers.DocumentBuilderFactory getBuilderFactory()
- Returns:
- the builderFactory
toString
public static java.lang.String toString(org.w3c.dom.Element element)
throws java.io.IOException
- Throws:
java.io.IOException
toStringOmitXml
public static java.lang.String toStringOmitXml(org.w3c.dom.Element element)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public static java.lang.String toString(org.w3c.dom.Element element,
org.apache.xml.serialize.OutputFormat format)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public static java.lang.String toString(org.w3c.dom.DocumentFragment fragment)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public static java.lang.String toString(org.w3c.dom.DocumentFragment fragment,
org.apache.xml.serialize.OutputFormat format)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public static java.lang.String toString(org.w3c.dom.Document doc)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public static java.lang.String toString(org.w3c.dom.Document doc,
org.apache.xml.serialize.OutputFormat format)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.Element element,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.Element element,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.DocumentFragment fragment,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.DocumentFragment fragment,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.Document doc,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(org.w3c.dom.Document doc,
org.apache.xml.serialize.OutputFormat format,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
getContentAsFragment
public static org.w3c.dom.DocumentFragment getContentAsFragment(org.w3c.dom.Element element)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.