org.picocontainer.script.groovy.nodes
Class ComponentNode
java.lang.Object
org.picocontainer.script.groovy.nodes.AbstractBuilderNode
org.picocontainer.script.groovy.nodes.ComponentNode
- All Implemented Interfaces:
- Serializable, BuilderNode
public class ComponentNode
- extends AbstractBuilderNode
Creates a component node
- Author:
- James Strachan, Paul Hammant, Aslak Hellesøy, Michael Rimov, Mauro Talevi
- See Also:
- Serialized Form
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(NodeBuilderDecorator decorator)
createNewNode
public Object createNewNode(Object current,
Map<String,Object> attributes)
- Execute the handler for the given node builder.
- Parameters:
current
- The current node.attributes
- Map attributes specified in the groovy script for the
builder node.
- Returns:
- Object
Copyright © 2003-2010 Codehaus. All Rights Reserved.