jfun.yan.xml.nuts.optional
Class SubscriptNut

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

public class SubscriptNut
extends DelegatingNut

Nut class for getting an element from a list/array.

Author:
Ben Yu Nov 9, 2005 11:57:47 PM
See Also:
Serialized Form

Constructor Summary
SubscriptNut()
           
 
Method Summary
 Component eval()
           
 int getInd()
           
 void setInd(int ind)
           
 
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

SubscriptNut

public SubscriptNut()
Method Detail

getInd

public int getInd()

setInd

public void setInd(int ind)

eval

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