|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jicengine.element.AbstractElement
org.jicengine.element.StaticValueElement
Field Summary |
Fields inherited from interface org.jicengine.element.Element |
VARIABLE_NAME_CDATA, VARIABLE_NAME_ELEMENT_INSTANCE, VARIABLE_NAME_PARENT_INSTANCE |
Constructor Summary | |
StaticValueElement(java.lang.String name,
Location location,
java.lang.Object value)
|
Method Summary | |
java.lang.Object |
getValue(Context context,
java.lang.Object parentInstance)
Creates and returns the value of this element. |
Methods inherited from class org.jicengine.element.AbstractElement |
getLocation, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jicengine.element.Element |
getName |
Constructor Detail |
public StaticValueElement(java.lang.String name, Location location, java.lang.Object value)
Method Detail |
public java.lang.Object getValue(Context context, java.lang.Object parentInstance)
ValueElement
Creates and returns the value of this element.
The client/user of this element will call this method. currently, the method is called only once. No caching of the result is needed. However, the object should be able to be executed multiple times.
in general, the creation of the value consists of the following steps:
getValue
in interface ValueElement
context
- a Context where the instances marked with the 'id'-attribute
are put.parentInstance
- the instance of the parent element. NOTE: null-value means
that the value of the parent is not available (not yet
or never), not that the instance of the parent is null!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |