|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRuntimeValue
This interface represents a value object that can be evaluated
only at runtime and in a runtime context.
Runtime value is constructed by runtime factory from
a lexical representation (see IRuntimeFactory.createValue(String)).
Runtime value is similar to expression: both can be evaluated only at runtime and in a runtime context. The difference between them is in their lexical representations. Lexical representation of the expression is restricted by expression language. Lexical representation of the runtime value has a free-text format with special syntax for elements that can be evaluated only at runtime. This special syntax can be different for different runtime implementations.
For example the following lexical representation
One, Two, ${a}
will be resolved by the default runtime implementation to "One, Two, Three".
Entry ${a} will be substituted by the actual value
of the attribute a in the runtime context, in this case "Three".
IRuntimeFactory| Method Summary | |
|---|---|
java.lang.Object |
getValue(IRuntimeContext ctx)
Resolves this runtime value in the runtime context. |
| Method Detail |
|---|
java.lang.Object getValue(IRuntimeContext ctx)
throws BareflowException
ctx - runtime context to resolve this value in.
BareflowException - if runtime value cannot be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||