Groovy 1.7.2

groovy.xml.dom
Class DOMUtil

java.lang.Object
  groovy.xml.dom.DOMUtil

public class DOMUtil
extends Object

Method Summary
static String serialize(org.w3c.dom.Element element)

Return a pretty version of the Element.

static void serialize(org.w3c.dom.Element element, OutputStream os)

Write a pretty version of the Element to the OutputStream.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Method Detail

serialize

public static String serialize(org.w3c.dom.Element element)
Return a pretty version of the Element.
param:
element the element to serialize
return:
the pretty String representation of the element
deprecated:
use XmlUtil version instead


serialize

public static void serialize(org.w3c.dom.Element element, OutputStream os)
Write a pretty version of the Element to the OutputStream.
param:
element the element to serialize
param:
os the outputstream to write to
deprecated:
use XmlUtil version instead


 

Copyright © 2003-2010 The Codehaus. All rights reserved.