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)
VariableContext
resolve
in interface VariableContext
variableName
- the name of the variable to resolve.public boolean containsVariable(String name)
VariableContext
containsVariable
in interface VariableContext
name
- the name of the variable to checkpublic Set<String> keySet()
keySet
in interface VariableContext
public static CompositeVariableContext compose(VariableContext... variableContexts)
Copyright © 2019. All rights reserved.