Groovy JDK

org.w3c.dom
Class Element

Method Summary
String serialize()
Transforms the element to its text equivalent.
 
Method Detail

serialize

public String serialize()
 
Transforms the element to its text equivalent. (The resulting string does not contain a xml declaration. Use {@code XmlUtil.serialize(element)} if you need the declaration.)
Returns:
the string representation of the element
Since:
2.1

Groovy JDK