org.sandev.basics.nodecommon
Interface NodeInstanceFactory


public interface NodeInstanceFactory

Utilities for intantiating and manipulating node instances.


Method Summary
 ControlWrapper addControlWrapper(Controllable node)
          Given a node, add a standard ControlWrapper to it and return the wrapper.
 Controllable createNode(NodeInstance decl)
          Given a NodeInstance, return an instance of that node initialized appropriately.
 

Method Detail

createNode

Controllable createNode(NodeInstance decl)
Given a NodeInstance, return an instance of that node initialized appropriately. Returns null if the given instance is null or if the node can't be created.


addControlWrapper

ControlWrapper addControlWrapper(Controllable node)
Given a node, add a standard ControlWrapper to it and return the wrapper. Returns null if the node is null or if the wrapper can't be created.