| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private Closure | |
| private final BuilderSupport |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Object | |
| protected abstract Object | |
| protected abstract Object | |
| protected abstract Object | |
| protected Object | |
| protected Object | |
| protected Object | |
| public Object | Returns: the result of the callthe name of the method to invoke methodName)Convenience method when no arguments are required. |
| public Object | invokeMethod(final String
the name of the method to call methodName, final Object the arguments to use for the method call args)Overrides default groovy. |
| protected void | nodeCompleted(final Object
the parent of the node being processed parent, final Object the current node being processed node)A hook to allow nodes to be processed once they have had all of their children applied. |
| protected Object | Returns: the node, possibly new, that represents the markup elementthe parent of the node being processed parent, final Object the current node being processed node)A hook to allow nodes to be processed once they have had all of their children applied and allows the actual node object that represents the Markup element to be changed. |
| protected void | setClosureDelegate(final Closure<V>
the closure on which to call setDelegate() closure, final Object the node value that we've just created, which could be
a builder node)A strategy method to allow derived builders to use builder-trees and switch in different kinds of builders. |
| protected void | |
| protected abstract void |
| current | back to summary |
|---|---|
| private Object current | |
| nameMappingClosure | back to summary |
|---|---|
| private Closure<V> nameMappingClosure | |
| proxyBuilder | back to summary |
|---|---|
| private final BuilderSupport proxyBuilder | |
| BuilderSupport | back to summary |
|---|---|
| public BuilderSupport() | |
| BuilderSupport | back to summary |
|---|---|
| public BuilderSupport(final BuilderSupport proxyBuilder) | |
| BuilderSupport | back to summary |
|---|---|
| public BuilderSupport(final Closure<V> nameMappingClosure, final BuilderSupport proxyBuilder) | |
| createNode | back to summary |
|---|---|
| protected abstract Object createNode(Object name) | |
| createNode | back to summary |
|---|---|
| protected abstract Object createNode(Object name, Object value) | |
| createNode | back to summary |
|---|---|
| protected abstract Object createNode(Object name, Map<K, V> attributes) | |
| createNode | back to summary |
|---|---|
| protected abstract Object createNode(Object name, Map<K, V> attributes, Object value) | |
| doInvokeMethod | back to summary |
|---|---|
| protected Object doInvokeMethod(final String methodName, final Object name, final Object args) | |
| getCurrent | back to summary |
|---|---|
| protected Object getCurrent() | |
| getName | back to summary |
|---|---|
| protected Object getName(final String methodName) A hook to allow names to be converted into some other object such as a QName in XML or ObjectName in JMX. | |
| invokeMethod | back to summary |
|---|---|
| public Object invokeMethod(final String methodName) Convenience method when no arguments are required. | |
| invokeMethod | back to summary |
|---|---|
| public Object invokeMethod(final String methodName, final Object args) Overrides default groovy. Doc from groovy. Invokes the given method. | |
| nodeCompleted | back to summary |
|---|---|
| protected void nodeCompleted(final Object parent, final Object node) A hook to allow nodes to be processed once they have had all of their children applied. | |
| postNodeCompletion | back to summary |
|---|---|
| protected Object postNodeCompletion(final Object parent, final Object node) A hook to allow nodes to be processed once they have had all of their children applied and allows the actual node object that represents the Markup element to be changed. | |
| setClosureDelegate | back to summary |
|---|---|
| protected void setClosureDelegate(final Closure<V> closure, final Object node) A strategy method to allow derived builders to use builder-trees and switch in different kinds of builders. This method should call the setDelegate() method on the closure which by default passes in this but if node is-a builder we could pass that in instead (or do something wacky too). | |
| setCurrent | back to summary |
|---|---|
| protected void setCurrent(final Object current) | |
| setParent | back to summary |
|---|---|
| protected abstract void setParent(Object parent, Object child) | |