org.nanocontainer.script.groovy.buildernodes
Class ComponentNode
java.lang.Object
org.nanocontainer.script.groovy.buildernodes.AbstractBuilderNode
org.nanocontainer.script.groovy.buildernodes.ComponentNode
- All Implemented Interfaces:
- Serializable, BuilderNode
public class ComponentNode
- extends AbstractBuilderNode
- Version:
- $Revision: 2695 $
- Author:
- James Strachan, Paul Hammant, Aslak Hellesøy, Michael Rimov, Mauro Talevi
- See Also:
- Serialized Form
Constructor Summary |
ComponentNode(org.nanocontainer.script.NodeBuilderDecorationDelegate builderDelegate)
|
NODE_NAME
public static final String NODE_NAME
- See Also:
- Constant Field Values
KEY
public static final String KEY
- Attributes 'key'
- See Also:
- Constant Field Values
ComponentNode
public ComponentNode(org.nanocontainer.script.NodeBuilderDecorationDelegate builderDelegate)
createNewNode
public Object createNewNode(Object current,
Map attributes)
- Execute the handler for the given node builder.
TODO - wrong Javadoc
- Parameters:
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.
- Returns:
- Object
Copyright © 2003-2009 Codehaus. All Rights Reserved.