jfun.yan.xml.nuts
Class DelegatingBinderNut

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nut.BinderNut
          extended by jfun.yan.xml.nuts.DelegatingBinderNut
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ForeachNut, SynchronizedNut

public abstract class DelegatingBinderNut
extends BinderNut

The super class for any Nut that evaluates to Binder and has a "binder" attribute or a sub-element that accepts a Binder.

Author:
Ben Yu Nov 12, 2005 11:13:59 PM
See Also:
Serialized Form

Constructor Summary
DelegatingBinderNut()
           
 
Method Summary
 void add(Binder binder)
           
 Binder getBinder()
           
protected  Binder getMandatory()
          Get the binder object.
 void setBinder(Binder binder)
           
 
Methods inherited from class jfun.yan.xml.nut.BinderNut
eval
 
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

DelegatingBinderNut

public DelegatingBinderNut()
Method Detail

add

public void add(Binder binder)

getBinder

public Binder getBinder()

setBinder

public void setBinder(Binder binder)

getMandatory

protected Binder getMandatory()
Get the binder object. Exception is thrown if the binder is not set yet.