|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nanocontainer.script.groovy.buildernodes.AbstractBuilderNode
org.nanocontainer.script.groovy.buildernodes.ComponentNode
public class ComponentNode
Field Summary | |
---|---|
static java.lang.String |
KEY
Attributes 'key' |
static java.lang.String |
NODE_NAME
|
Constructor Summary | |
---|---|
ComponentNode(org.nanocontainer.script.NodeBuilderDecorationDelegate builderDelegate)
|
Method Summary | |
---|---|
java.lang.Object |
createNewNode(java.lang.Object current,
java.util.Map attributes)
Execute the handler for the given node builder. |
Methods inherited from class org.nanocontainer.script.groovy.buildernodes.AbstractBuilderNode |
---|
addAttribute, getNodeName, getSupportedAttributes, isAttribute, toString, validateScriptedAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NODE_NAME
public static final java.lang.String KEY
Constructor Detail |
---|
public ComponentNode(org.nanocontainer.script.NodeBuilderDecorationDelegate builderDelegate)
Method Detail |
---|
public java.lang.Object createNewNode(java.lang.Object current, java.util.Map attributes)
name
- Object the parent object.value
- The Node value. This is almost never used, but it kept
in for consistency with the Groovy Builder API. Normally set to
null.current
- The current node.attributes
- Map attributes specified in the groovy script for
the builder node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |