Class Builder
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.xml.streamingmarkupsupport.Builder
- All Implemented Interfaces:
GroovyObject
- Direct Known Subclasses:
BaseMarkupBuilder
Base support for streaming markup builders that dispatch tags through namespace-specific closures.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classBase class for bound markup documents produced bybind(Closure). -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MapNormalized namespace metadata used to resolve tag handlers during binding. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Field Details
-
namespaceMethodMap
Normalized namespace metadata used to resolve tag handlers during binding.
-
-
Constructor Details
-
Builder
Creates a builder from the precomputed namespace method metadata.- Parameters:
namespaceMethodMap- namespace-specific tag handler metadata
-
-
Method Details
-
bind
Binds a root markup closure into a lazily executable document object.- Parameters:
root- root markup closure- Returns:
- bound document representation
-