public interface VariableResolver
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String value)
Indicates whether the given value exists.
|
Object |
resolve(String value)
Resolves the variable and returns the associated object.
|
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.Copyright © 2021. All rights reserved.