Class BaseMarkupBuilder

All Implemented Interfaces:
GroovyObject

public class BaseMarkupBuilder extends Builder
Runtime support for StreamingMarkupBuilder closures bound to namespace-aware tag handlers.
  • Constructor Details

    • BaseMarkupBuilder

      public BaseMarkupBuilder(Map namespaceMethodMap)
      Creates a builder backed by the supplied namespace method map.
      Parameters:
      namespaceMethodMap - namespace-specific tag handler metadata
  • Method Details

    • bind

      public Object bind(Closure root)
      Binds a root markup closure into a lazily executable document object.
      Specified by:
      bind in class Builder
      Parameters:
      root - root markup closure
      Returns:
      bound document representation