|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.xml.nut.Nut
jfun.yan.xml.nut.ComponentNut
jfun.yan.xml.nuts.DelegatingNut
public abstract class DelegatingNut
Super class for any Nut that supports a tag such that:
An optional component attribute is used to refer
to another component.
An optional sub-element is used to define the component in-place.
| Constructor Summary | |
|---|---|
DelegatingNut()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object sub)
|
protected void |
delegateTo(Component cc)
Subclass override this method to wrap around the delegate target. |
Component |
getComponent()
|
protected Component |
getMandatory()
Get the Component object. |
void |
setComponent(Component cc)
|
| Methods inherited from class jfun.yan.xml.nut.ComponentNut |
|---|
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 |
|---|
public DelegatingNut()
| Method Detail |
|---|
public Component getComponent()
protected Component getMandatory()
public void setComponent(Component cc)
public void add(java.lang.Object sub)
protected void delegateTo(Component cc)
cc - the delegate target.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||