Class ReplacementNode

java.lang.Object
groovy.xml.slurpersupport.ReplacementNode
All Implemented Interfaces:
Buildable, Writable

public abstract class ReplacementNode
extends Object
implements Buildable, Writable
Helper base class used for lazy updates.
  • Constructor Details

    • ReplacementNode

      public ReplacementNode()
  • Method Details

    • build

      public abstract void build​(GroovyObject builder, Map namespaceMap, Map<String,​String> namespaceTagHints)
    • build

      public void build​(GroovyObject builder)
      Specified by:
      build in interface Buildable
    • writeTo

      public Writer writeTo​(Writer out) throws IOException
      NOP
      Specified by:
      writeTo in interface Writable
      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