|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValueResolver
A hook interface for resolving values from the context stack.
| Field Summary | |
|---|---|
static Object |
UNRESOLVED
A mark object. |
static ValueResolver[] |
VALUE_RESOLVERS
The default value resolvers. |
| Method Summary | |
|---|---|
Set<Map.Entry<String,Object>> |
propertySet(Object context)
List all the properties and their values for the given object. |
Object |
resolve(Object context,
String name)
Resolve the attribute's name in the context object. |
| Field Detail |
|---|
static final ValueResolver[] VALUE_RESOLVERS
static final Object UNRESOLVED
| Method Detail |
|---|
Object resolve(Object context,
String name)
UNRESOLVED is returned, the
context stack will
continue with the next value resolver in the chain.
context - The context object. Not null.name - The attribute's name. Not null.
UNRESOLVED is returned, the context
stack will continue with the next value resolver in the chain.
Otherwise, it returns the associated value.Set<Map.Entry<String,Object>> propertySet(Object context)
context - The context object. Not null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||