|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.xml.XmlUtil
public class XmlUtil extends Object
Used for pretty printing XML content.
Method Summary | |
---|---|
static String
|
serialize(org.w3c.dom.Element element)
Return a pretty String version of the Element. |
static void
|
serialize(org.w3c.dom.Element element, OutputStream os)
Write a pretty version of the Element to the OutputStream. |
static void
|
serialize(org.w3c.dom.Element element, Writer w)
Write a pretty version of the Element to the Writer. |
static String
|
serialize(Node node)
Return a pretty String version of the Node. |
static void
|
serialize(Node node, OutputStream os)
Write a pretty version of the Node to the OutputStream. |
static void
|
serialize(Node node, Writer w)
Write a pretty version of the Node to the Writer. |
static String
|
serialize(GPathResult node)
Return a pretty version of the GPathResult. |
static void
|
serialize(GPathResult node, OutputStream os)
Write a pretty version of the GPathResult to the OutputStream. |
static void
|
serialize(GPathResult node, Writer w)
Write a pretty version of the GPathResult to the Writer. |
static String
|
serialize(Writable writable)
Return a pretty String version of the XML content produced by the Writable. |
static void
|
serialize(Writable writable, OutputStream os)
Write a pretty version of the XML content produced by the Writable to the OutputStream. |
static void
|
serialize(Writable writable, Writer w)
Write a pretty version of the XML content produced by the Writable to the Writer. |
static String
|
serialize(String xmlString)
Return a pretty version of the XML content contained in the given String. |
static void
|
serialize(String xmlString, OutputStream os)
Write a pretty version of the given XML string to the OutputStream. |
static void
|
serialize(String xmlString, Writer w)
Write a pretty version of the given XML string to the Writer. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public static String serialize(org.w3c.dom.Element element)
public static void serialize(org.w3c.dom.Element element, OutputStream os)
public static void serialize(org.w3c.dom.Element element, Writer w)
public static String serialize(Node node)
public static void serialize(Node node, OutputStream os)
public static void serialize(Node node, Writer w)
public static String serialize(GPathResult node)
public static void serialize(GPathResult node, OutputStream os)
public static void serialize(GPathResult node, Writer w)
public static String serialize(Writable writable)
public static void serialize(Writable writable, OutputStream os)
public static void serialize(Writable writable, Writer w)
public static String serialize(String xmlString)
public static void serialize(String xmlString, OutputStream os)
public static void serialize(String xmlString, Writer w)
Copyright © 2003-2010 The Codehaus. All rights reserved.