Package: groovy.xml

## [Java] Class NamespaceBuilderSupport

- groovy.xml.NamespaceBuilderSupport

-     public class NamespaceBuilderSupport
      extends BuilderSupport

  A helper class for creating namespaced GroovyMarkup

- - ### Constructor Summary

    Constructors
    Constructor and description
    `NamespaceBuilderSupport(BuilderSupport builder)`
    `NamespaceBuilderSupport(BuilderSupport builder, String uri)`
    `NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix)`
    `NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix, boolean autoPrefix)`
    `NamespaceBuilderSupport(BuilderSupport builder, Map nsMap)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public NamespaceBuilderSupport` | `declareNamespace(Map nsMap)`
    `` | `public Object` | `invokeMethod(String methodName, Object args)` Allow automatic detection of namespace declared in the attributes
    `` | `public NamespaceBuilderSupport` | `namespace(String namespaceURI)`
    `` | `public NamespaceBuilderSupport` | `namespace(String namespaceURI, String prefix)`

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

    - #### public NamespaceBuilderSupport(BuilderSupport builder)

    - #### public NamespaceBuilderSupport(BuilderSupport builder, String uri)

    - #### public NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix)

    - #### public NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix, boolean autoPrefix)

    - #### public NamespaceBuilderSupport(BuilderSupport builder, Map nsMap)

  - ### Method Detail

    - #### public NamespaceBuilderSupport declareNamespace(Map nsMap)

    - #### @Override
      public Object invokeMethod(String methodName, Object args)

      Allow automatic detection of namespace declared in the attributes

    - #### public NamespaceBuilderSupport namespace(String namespaceURI)

    - #### public NamespaceBuilderSupport namespace(String namespaceURI, String prefix)