jfun.yan.xml.nuts.optional
Class Case

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

public class Case
extends DelegatingNut

The <case> sub-element in the <switch> tag.

Author:
Ben Yu Nov 11, 2005 3:42:43 PM
See Also:
Serialized Form

Constructor Summary
Case()
           
 
Method Summary
 Component eval()
           
 java.lang.Object getOf()
           
 void setOf(java.lang.Object of)
           
 
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

Case

public Case()
Method Detail

getOf

public java.lang.Object getOf()

setOf

public void setOf(java.lang.Object of)

eval

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