|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.model.RtComponentElement
org.objectweb.kilim.model.RtComponentSource
org.objectweb.kilim.model.RuntimeSourceImpl1
This is a base for all classes that implement runtime sources that do not support event sources and inputs (i.e. array, class source, null source, reference).
Field Summary |
Fields inherited from class org.objectweb.kilim.model.RtComponentSource |
knownValues, mapper, mappingContext, svpStack |
Fields inherited from class org.objectweb.kilim.model.RtComponentElement |
nbComponent, nbElement |
Constructor Summary | |
RuntimeSourceImpl1(TemplateElementImpl aElement,
Component aComponent)
|
Method Summary | |
void |
addInterfaceListener(RtCollectionPort aInterface)
adds a new listener to the value source. |
java.lang.Object |
getEventSourceValue()
Method gets the EventSourceValue. |
java.lang.String |
getLocalName()
returns the local name of the component element. |
boolean |
isEventSource()
returns whether the source is an event source.. |
void |
removeInterfaceListener(RtCollectionPort aInterface)
removes a listener from the value source. |
void |
setEventSourceValue(java.lang.Object aSource)
sets the EventSourceValue. |
Methods inherited from class org.objectweb.kilim.model.RtComponentSource |
evaluationPerformed, getCurrentSVP, getInterfaceListeners |
Methods inherited from class org.objectweb.kilim.model.RtComponentElement |
containsElement, getContainingComponent, getContainingElement, getElement, getElementDescription, getNbComponent, getNbElement, getQualifiedName, getTarget, getTemplateDefHierarchy, removeElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.kilim.model.RuntimeSource |
checkValue, getTarget, getValue, hasValue |
Constructor Detail |
public RuntimeSourceImpl1(TemplateElementImpl aElement, Component aComponent)
Method Detail |
public java.lang.String getLocalName()
ComponentElement
ComponentElement.getLocalName()
public void addInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
addInterfaceListener
in interface RuntimeSource
addInterfaceListener
in class RtComponentSource
KilimException
org.objectweb.kilim.model.RuntimeSource#addInterfaceListener(RtCollectionInterface)
public void removeInterfaceListener(RtCollectionPort aInterface) throws KilimException
RuntimeSource
removeInterfaceListener
in interface RuntimeSource
removeInterfaceListener
in class RtComponentSource
KilimException
org.objectweb.kilim.model.RuntimeSource#removeInterfaceListener(RtCollectionInterface)
public boolean isEventSource()
RuntimeSource
public java.lang.Object getEventSourceValue() throws KilimException
RuntimeSource
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.public void setEventSourceValue(java.lang.Object aSource) throws KilimException
RuntimeSource
aSource
- :
KilimException
- : the exception is generated when the method is invoked on unbound references
or on illegal elements.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |