Package groovy.xml.slurpersupport
Class ReplacementNode
java.lang.Object
groovy.xml.slurpersupport.ReplacementNode
Helper base class used for lazy updates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(GroovyObject builder) Builds this object into the supplied builder.abstract voidEmits this lazy replacement through the supplied builder.NOP
-
Constructor Details
-
ReplacementNode
public ReplacementNode()
-
-
Method Details
-
build
public abstract void build(GroovyObject builder, Map namespaceMap, Map<String, String> namespaceTagHints) Emits this lazy replacement through the supplied builder.- Parameters:
builder- target buildernamespaceMap- namespace declarations already in scopenamespaceTagHints- preferred namespace prefixes
-
build
Builds this object into the supplied builder. -
writeTo
NOP- Specified by:
writeToin interfaceWritable- Parameters:
out- the Writer to which this Writable should output its data.- Returns:
- the Writer that was passed
- Throws:
IOException- if an error occurred while outputting data to the writer
-