jfun.yan.xml.nuts.optional
Class WithArgumentsNut

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.WithArgumentsNut
All Implemented Interfaces:
java.io.Serializable

public class WithArgumentsNut
extends DelegatingNut

This Nut class enables calling a method/constructor with argument list created dynamically, rather than through the arg and args sub-elements literally.

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

Constructor Summary
WithArgumentsNut()
           
 
Method Summary
 Component eval()
           
 Component getArgs()
           
 void setArgs(Component args)
           
 
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

WithArgumentsNut

public WithArgumentsNut()
Method Detail

getArgs

public Component getArgs()

setArgs

public void setArgs(Component args)

eval

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