jfun.yan.xml.nuts.optional
Class RefNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.ComponentNut
          extended by jfun.yan.xml.nuts.optional.RefNut
All Implemented Interfaces:
java.io.Serializable

public class RefNut
extends ComponentNut

Use this tag to reference any component in the current container. The reference is not checked by the compilation and is not affected by namespace.

Author:
Ben Yu Dec 21, 2005 1:43:34 PM
See Also:
Serialized Form

Constructor Summary
RefNut()
           
 
Method Summary
 Component eval()
           
 java.lang.Object getTo()
           
 java.lang.Class getType()
           
 void setTo(java.lang.Object ref)
           
 void setType(java.lang.Class type)
           
 
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

RefNut

public RefNut()
Method Detail

getType

public java.lang.Class getType()

setType

public void setType(java.lang.Class type)

getTo

public java.lang.Object getTo()

setTo

public void setTo(java.lang.Object ref)

eval

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