jfun.yan.xml.nuts.optional
Class WithPropertiesNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.DelegatingNut
              extended by jfun.yan.xml.nuts.optional.WithPropertiesNut
All Implemented Interfaces:
java.io.Serializable

public class WithPropertiesNut
extends DelegatingNut

This Nut class enables setting properties for a bean with property key-value map created dynamically, rather than through the prop sub-elements literally.

Author:
Ben Yu Nov 10, 2005 12:10:12 AM
See Also:
Serialized Form

Constructor Summary
WithPropertiesNut()
           
 
Method Summary
 Component eval()
           
 Component getProps()
           
 void setProps(Component props)
           
 
Methods inherited from class jfun.yan.xml.nuts.DelegatingNut
add, delegateTo, getComponent, getMandatory, setComponent
 
Methods inherited from class jfun.yan.xml.nut.Nut
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WithPropertiesNut

public WithPropertiesNut()
Method Detail

getProps

public Component getProps()

setProps

public void setProps(Component props)

eval

public Component eval()
Specified by:
eval in class ComponentNut