public class CompositeVariableContext extends Object implements VariableContext
| Modifier and Type | Field and Description |
|---|---|
protected VariableContext[] |
delegateContexts |
| Constructor and Description |
|---|
CompositeVariableContext(VariableContext[] delegateContexts) |
| Modifier and Type | Method and Description |
|---|---|
static CompositeVariableContext |
compose(VariableContext... variableContexts) |
boolean |
containsVariable(String name)
Checks whether a variable with the given name is resolve through this context.
|
Set<String> |
keySet() |
TypedValue |
resolve(String variableName)
Resolve a value in this context.
|
protected final VariableContext[] delegateContexts
public CompositeVariableContext(VariableContext[] delegateContexts)
public TypedValue resolve(String variableName)
VariableContextresolve in interface VariableContextvariableName - the name of the variable to resolve.public boolean containsVariable(String name)
VariableContextcontainsVariable in interface VariableContextname - the name of the variable to checkpublic Set<String> keySet()
keySet in interface VariableContextpublic static CompositeVariableContext compose(VariableContext... variableContexts)
Copyright © 2021. All rights reserved.