clark.xpath
Class Environment
java.lang.Object
|
+--clark.xpath.Environment
- public class Environment
- extends java.lang.Object
|
Method Summary |
static void |
clear()
|
static void |
evalVariable(java.lang.String name,
w3c.dom.Node context)
|
static clark.xpath.AtomicObject |
getVariable(java.lang.String vName)
|
static short |
getVarType(java.lang.String name)
|
static void |
setVariable(java.lang.String name,
clark.xpath.GeneralNode target)
Sets a new variable in the environment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Environment
public Environment()
clear
public static void clear()
getVariable
public static clark.xpath.AtomicObject getVariable(java.lang.String vName)
throws ParseException
ParseException
setVariable
public static void setVariable(java.lang.String name,
clark.xpath.GeneralNode target)
- Sets a new variable in the environment.
- Parameters:
name - The name of the variable;target - The value of the variable.
evalVariable
public static void evalVariable(java.lang.String name,
w3c.dom.Node context)
getVarType
public static short getVarType(java.lang.String name)