public class VarResolverContext extends Object
VarResolver
class.
Used to associate Vars
and context objects with VarResolvers
.
Constructor and Description |
---|
VarResolverContext(Class<? extends Var>[] vars,
Map<String,Object> contextObjects)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getContextObject(String name)
Returns the context object with the specified name.
|
protected Map<String,Object> |
getContextObjects()
Returns the context map of this variable resolver context.
|
protected Map<String,Var> |
getVarMap()
Returns an unmodifiable map of
Vars associated with this context. |
protected Class<?>[] |
getVars()
Returns an array of variables define in this variable resolver context.
|
protected Map<String,Var> getVarMap()
Vars
associated with this context.Var
instances.protected Class<?>[] getVars()
protected Object getContextObject(String name)
name
- The name of the context object.protected Map<String,Object> getContextObjects()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.