| org.nanocontainer.script.groovy.BuilderNode
All known Subclasses: org.nanocontainer.script.groovy.buildernodes.AbstractBuilderNode,
BuilderNode | public interface BuilderNode (Code) | | In a groovy node builder environment, there is often one class per
node that is possible in a builder. This interface provides the necessary
validation and interaction methods for the mediator (The GroovyNodeBuilder
object) to figure out who should handle what.
author: Michael Rimov version: 1.0 |
createNewNode | Object createNewNode(Object current, Map attributes) throws NanoContainerMarkupException(Code) | | Execute the handler for the given node builder.
Parameters: current - the current object. May be nullfor no parent container. Parameters: attributes - Map attributes specified in the groovy scriptfor the builder node.in for consistency with the Groovy Builder API. Normally set to null. Object throws: NanoContainerMarkupException - upon Nanocontainer error. |
getNodeName | String getNodeName()(Code) | | Retrieve the name of the node. Examples could be 'container' or 'component'.
String |
getSupportedAttributes | Set getSupportedAttributes()(Code) | | Retrieve a map of supported attribute names.
note:Supported attributes are currently unverified by the
GroovyNodeBuilder as this would result in a change of behavior.
Set of Strings. |
|
|