@SuppressWarnings(value="Instanceof")
class StreamingDOMBuilder
extends AbstractStreamingBuilder
A streaming builder that creates W3C DOM content for GPath-style XML traversal or further DOM processing.
| Type | Name and description |
|---|---|
Object |
builderBacking namespace-aware builder reused for each bind(Closure) call. |
Object |
commentClosureClosure backing mkp.comment for DOM comment node creation. |
Object |
defaultNamespaceStackStack tracking the currently active default namespace while nested elements are created. |
Object |
noopClosureClosure backing text-yield operations when appending DOM nodes. |
Object |
pendingStackStack of pending namespace declarations restored after each nested element finishes. |
Object |
piClosureClosure backing mkp.pi for DOM processing-instruction node creation. |
Object |
tagClosureDefault element-emitting closure used for ordinary DOM builder nodes. |
| Properties inherited from class | Properties |
|---|---|
class AbstractStreamingBuilder |
aliasSetupClosure, badTagClosure, builder, getNamespaceClosure, namespaceSetupClosure, specialTags, toMapStringClosure |
| Constructor and description |
|---|
StreamingDOMBuilder()Creates a DOM-oriented builder with the standard mkp helper tags installed. |
Backing namespace-aware builder reused for each bind(Closure) call.
Closure backing mkp.comment for DOM comment node creation.
Stack tracking the currently active default namespace while nested elements are created.
Closure backing text-yield operations when appending DOM nodes.
Stack of pending namespace declarations restored after each nested element finishes.
Closure backing mkp.pi for DOM processing-instruction node creation.
Default element-emitting closure used for ordinary DOM builder nodes.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.