jfun.yan.xml.nuts.optional
Class ForeachRegisterNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nuts.optional.AbstractRegisterNut
          extended by jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
              extended by jfun.yan.xml.nuts.optional.ForeachRegisterNut
All Implemented Interfaces:
java.io.Serializable

public class ForeachRegisterNut
extends AbstractLoopRegisterNut

This tag repeatedly calls the function used as the body and dynamically register the results using a list of names and the prefix, suffix.

Author:
Ben Yu Dec 22, 2005 12:29:06 AM
See Also:
Serialized Form

Constructor Summary
ForeachRegisterNut()
           
 
Method Summary
 void eval()
           
 java.lang.String[] getNames()
           
 void setNames(java.lang.String[] names)
           
 
Methods inherited from class jfun.yan.xml.nuts.optional.AbstractLoopRegisterNut
add, calcFQN, createArgs, createArgs, getBody, getMandatoryBody, getPrefix, getSuffix, loop, loop, setBody, setPrefix, setSuffix
 
Methods inherited from class jfun.yan.xml.nuts.optional.AbstractRegisterNut
isEager_init, isEagerlyInstantiating, isOverridable, isOverriding, registerValue, setEager_init, setOverridable, setOverriding
 
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

ForeachRegisterNut

public ForeachRegisterNut()
Method Detail

getNames

public java.lang.String[] getNames()

setNames

public void setNames(java.lang.String[] names)

eval

public void eval()