jfun.yan.xml.nuts.optional
Class GetKeyNut

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

public class GetKeyNut
extends DelegatingNut

Nut class for getting a value from a map.

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

Constructor Summary
GetKeyNut()
           
 
Method Summary
 Component eval()
           
 java.lang.Object getKey()
           
 void setKey(java.lang.Object key)
           
 
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

GetKeyNut

public GetKeyNut()
Method Detail

getKey

public java.lang.Object getKey()

setKey

public void setKey(java.lang.Object key)

eval

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