|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AccessPathEvaluator
| Field Summary | |
|---|---|
static Object |
UNMODIFIED_HANDLE
Pseudo value indicating an unmodified access point handle. |
| Method Summary | |
|---|---|
Object |
createDefaultValue(Map attributes)
Yields the default value used in case of a missing data value. |
Object |
createInitialValue(Map attributes)
Yields the initial value for a newly instantiated data values. |
Object |
evaluate(Map attributes,
Object accessPoint,
String outPath)
Evaluates an out data path by applying the outPath expression against
the given accessPoint and returning the resulting value. |
Object |
evaluate(Map attributes,
Object accessPoint,
String inPath,
Object value)
Evaluates an in data path by applying the inPath expression
parametrized with the given value against the given
accessPoint and returns the result, if appropriate. |
| Field Detail |
|---|
static final Object UNMODIFIED_HANDLE
| Method Detail |
|---|
Object evaluate(Map attributes,
Object accessPoint,
String outPath)
outPath expression against
the given accessPoint and returning the resulting value.
attributes - The access point definition's attributes.accessPoint - The actual access point.outPath - The dereference path to be applied.
Object evaluate(Map attributes,
Object accessPoint,
String inPath,
Object value)
inPath expression
parametrized with the given value against the given
accessPoint and returns the result, if appropriate.
attributes - The access point definition's attributes.accessPoint - The actual access point.inPath - The dereference path to be used when applying the given value.value - The new value to be applied to the access point.
UNMODIFIED_HANDLE if the
access point did not change its identity.Object createInitialValue(Map attributes)
attributes - The access point definition's attributes.
Object createDefaultValue(Map attributes)
attributes - The access point definition's attributes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||