Package: groovy.xml.streamingmarkupsupport

## [Java] Class Builder

- groovy.xml.streamingmarkupsupport.Builder

-     public abstract class Builder
      extends GroovyObjectSupport

  Base support for streaming markup builders that dispatch tags through namespace-specific closures.

- - ### Nested Class Summary

    Nested classes
    Modifiers | Name | Description
    --- | --- | ---
    `protected static class` | `Builder.Built` | Base class for bound markup documents produced by bind(Closure).

  - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected Map` | `namespaceMethodMap` | Normalized namespace metadata used to resolve tag handlers during binding.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `Builder(Map namespaceMethodMap)` Creates a builder from the precomputed namespace method metadata.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public abstract Object` | `bind(Closure root)` Binds a root markup closure into a lazily executable document object.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class GroovyObjectSupport` | `getMetaClass, setMetaClass`

- - ### Field Detail

    - #### protected final Map namespaceMethodMap

      Normalized namespace metadata used to resolve tag handlers during binding.

  - ### Constructor Detail

    - #### public Builder(Map namespaceMethodMap)

      Creates a builder from the precomputed namespace method metadata.

      Parameters:
        `namespaceMethodMap` - namespace-specific tag handler metadata

  - ### Method Detail

    - #### public abstract Object bind(Closure root)

      Binds a root markup closure into a lazily executable document object.

      Parameters:
        `root` - root markup closure
      Returns:
        bound document representation