|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VariableResolver
Classes implementing this interface should provide a mechanism to resolve the value of a variable in the context of a URI pattern matching operation.
| Method Summary | |
|---|---|
boolean |
exists(String value)
Indicates whether the given value exists. |
Object |
resolve(String value)
Resolves the variable and returns the associated object. |
| Method Detail |
|---|
boolean exists(String value)
true only if the value can be resolved, that is
resolve(value) != null.
value - The value to check for existence.
true if the specified value can be resolved;
false otherwise.Object resolve(String value)
null if the value a value exists, but should return
null, if the value cannot be resolved.
If the implementation does not bind values to objects, this method should return the value if
it can be resolved otherwise, it should return null.
value - The value to resolve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||