public interface ValueResolver
context stack
.Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
UNRESOLVED
A mark object.
|
static ValueResolver[] |
VALUE_RESOLVERS
The default value resolvers.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
propertySet(java.lang.Object context)
List all the properties and their values for the given object.
|
java.lang.Object |
resolve(java.lang.Object context)
Resolve the the context object by optionally converting the value if necessary.
|
java.lang.Object |
resolve(java.lang.Object context,
java.lang.String name)
Resolve the attribute's name in the context object.
|
static final ValueResolver[] VALUE_RESOLVERS
static final java.lang.Object UNRESOLVED
java.lang.Object resolve(java.lang.Object context, java.lang.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.java.lang.Object resolve(java.lang.Object context)
UNRESOLVED
is returned, the context stack
will continue with
the next value resolver in the chain.context
- The context object. Not null.UNRESOLVED
is returned, the context
stack
will continue with the next value resolver in the chain.
Otherwise, it returns the associated value.java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> propertySet(java.lang.Object context)
context
- The context object. Not null.Copyright © 2010 - 2020 Adobe. All Rights Reserved