Package groovy.util
Class XmlUtil
java.lang.Object
groovy.util.XmlUtil
@Deprecated
public class XmlUtil
extends java.lang.Object
Deprecated.
Used for pretty printing XML content and other XML related utilities.
- 
Constructor SummaryConstructors Constructor Description XmlUtil()Deprecated.
- 
Method SummaryModifier and Type Method Description static java.lang.Stringserialize(GPathResult node)Deprecated.static voidserialize(GPathResult node, java.io.OutputStream os)Deprecated.static voidserialize(GPathResult node, java.io.Writer w)Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
XmlUtilpublic XmlUtil()Deprecated.
 
- 
- 
Method Details- 
serializeDeprecated.Return a pretty version of the GPathResult.- Parameters:
- node- a GPathResult to serialize to a String
- Returns:
- the pretty String representation of the GPathResult
 
- 
serializeDeprecated.Write a pretty version of the GPathResult to the OutputStream.- Parameters:
- node- a GPathResult to serialize
- os- the OutputStream to write to
 
- 
serializeDeprecated.Write a pretty version of the GPathResult to the Writer.- Parameters:
- node- a GPathResult to serialize
- w- the Writer to write to
 
 
-