com.caucho.config.program
Class NodeBuilderChildProgram

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.program.FlowProgram
          extended by com.caucho.config.program.NodeBuilderChildProgram
All Implemented Interfaces:
java.lang.Comparable<ConfigProgram>

public class NodeBuilderChildProgram
extends FlowProgram

Stored configuration program for an attribute.


Constructor Summary
NodeBuilderChildProgram(org.w3c.dom.Node node)
           
 
Method Summary
<T> T
create(ConfigType<T> type, CreationalContext<T> cxt)
           
 org.w3c.dom.Node getNode()
           
 QName getQName()
          Returns the program's QName
<T> void
inject(T bean, CreationalContext<T> cxt)
          Configures the bean using the current program.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, bind, compareTo, configure, configure, configure, create, create, getDeclaringClass, getName, getPriority, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeBuilderChildProgram

public NodeBuilderChildProgram(org.w3c.dom.Node node)
Method Detail

getQName

public QName getQName()
Description copied from class: ConfigProgram
Returns the program's QName

Overrides:
getQName in class ConfigProgram

getNode

public org.w3c.dom.Node getNode()

inject

public <T> void inject(T bean,
                       CreationalContext<T> cxt)
            throws ConfigException
Description copied from class: ConfigProgram
Configures the bean using the current program.

Specified by:
inject in class ConfigProgram
Parameters:
bean - the bean to configure
Throws:
ConfigException

create

public <T> T create(ConfigType<T> type,
                    CreationalContext<T> cxt)
         throws ConfigException
Overrides:
create in class ConfigProgram
Throws:
ConfigException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object