|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.werken.xpath.DefaultVariableContext
public class DefaultVariableContext
A VariableContext
implementation based upon a java.util.HashMap for simple
name-value mappings.
Constructor Summary | |
---|---|
DefaultVariableContext()
|
Method Summary | |
---|---|
java.lang.Object |
getVariableValue(java.lang.String name)
Resolve a variable binding |
void |
setVariableValue(java.lang.String name,
java.lang.Object value)
Set a variable finding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultVariableContext()
Method Detail |
---|
public java.lang.Object getVariableValue(java.lang.String name)
Retrieve the currently bound value of the named variable, or null if no such binding exists.
getVariableValue
in interface VariableContext
name
- The name of the variable sought.
ContextSupport.getVariableValue(java.lang.String)
,
ContextSupport.setVariableContext(com.werken.xpath.VariableContext)
public void setVariableValue(java.lang.String name, java.lang.Object value)
Set the value of a named variable.
name
- The name of the variable to bind to the valuevalue
- The value to bind to the variable name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |