public interface XmlProvider
Modifier and Type | Method | Description |
---|---|---|
Element |
asElement() |
Returns the XML document as a DOM
Element . |
Node |
asNode() |
Returns the XML document as a Groovy
Node . |
StringBuilder |
asString() |
Returns the XML document as a
StringBuilder . |
StringBuilder asString()
StringBuilder
. Changes to the returned instance will be applied to the XML.
The returned instance is only valid until one of the other methods on this interface are called.StringBuilder
representation of the XML.Node asNode()
Node
. Changes to the returned instance will be applied
to the XML. The returned instance is only valid until one of the other methods on this interface are called.Node
representation of the XML.