com.fujitsu.xml.omquery
Class OmQueryMgrBase.MyVariableMgr

java.lang.Object
  extended by com.fujitsu.xml.omquery.VariableMgr
      extended by com.fujitsu.xml.omquery.OmQueryMgrBase.MyVariableMgr
Enclosing class:
OmQueryMgrBase

protected class OmQueryMgrBase.MyVariableMgr
extends VariableMgr


Field Summary
protected  MyVariableSet varset
           
 
Constructor Summary
OmQueryMgrBase.MyVariableMgr()
           
 
Method Summary
(package private)  void addBooleanVariable(java.lang.String varname, boolean value)
          Add a Boolean variable to the list of managed variables.
(package private)  void addNodeArrayVariable(java.lang.String varname, org.w3c.dom.Node[] dom_nodes, int start, int len)
          Add a variable of type DOM Node[] to the list of managed variables.
(package private)  void addNumberVariable(java.lang.String varname, double value)
          Add a Number variable to the list of managed variables.
(package private)  void addSingleNodeVariable(java.lang.String varname, org.w3c.dom.Node dom_node)
          Add a variable of type DOM Node to the list of managed variables.
(package private)  void addStringVariable(java.lang.String varname, java.lang.String value)
          Add a String variable to the list of managed variables.
(package private)  void addVariable(java.lang.String varname, java.lang.String expr)
          Add a variable to the list of managed variables.
(package private)  void eval(com.jclark.xsl.om.Node node, com.jclark.xsl.expr.ExprContext context)
           
(package private)  com.jclark.xsl.expr.VariableSet getVariableSet()
           
(package private)  com.jclark.xsl.expr.Variant getVariableValue(com.jclark.xsl.om.Name name)
           
(package private)  void reset()
          Make the list of managed variables empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varset

protected MyVariableSet varset
Constructor Detail

OmQueryMgrBase.MyVariableMgr

OmQueryMgrBase.MyVariableMgr()
Method Detail

addVariable

void addVariable(java.lang.String varname,
                 java.lang.String expr)
           throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a variable to the list of managed variables.

Specified by:
addVariable in class VariableMgr
expr - XPath expression which is to be evaluated to yield the value for the variable.
Throws:
com.jclark.xsl.om.XSLException

addStringVariable

void addStringVariable(java.lang.String varname,
                       java.lang.String value)
                 throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a String variable to the list of managed variables.

Specified by:
addStringVariable in class VariableMgr
value - a String which is bound as the value of the variable.
Throws:
com.jclark.xsl.om.XSLException

addNumberVariable

void addNumberVariable(java.lang.String varname,
                       double value)
                 throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a Number variable to the list of managed variables.

Specified by:
addNumberVariable in class VariableMgr
value - a Number which is bound as the value of the variable.
Throws:
com.jclark.xsl.om.XSLException

addBooleanVariable

void addBooleanVariable(java.lang.String varname,
                        boolean value)
                  throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a Boolean variable to the list of managed variables.

Specified by:
addBooleanVariable in class VariableMgr
value - a Boolean which is bound as the value of the variable.
Throws:
com.jclark.xsl.om.XSLException

addSingleNodeVariable

void addSingleNodeVariable(java.lang.String varname,
                           org.w3c.dom.Node dom_node)
                     throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a variable of type DOM Node to the list of managed variables.

Specified by:
addSingleNodeVariable in class VariableMgr
Throws:
com.jclark.xsl.om.XSLException

addNodeArrayVariable

void addNodeArrayVariable(java.lang.String varname,
                          org.w3c.dom.Node[] dom_nodes,
                          int start,
                          int len)
                    throws com.jclark.xsl.om.XSLException
Description copied from class: VariableMgr
Add a variable of type DOM Node[] to the list of managed variables.

Specified by:
addNodeArrayVariable in class VariableMgr
Throws:
com.jclark.xsl.om.XSLException

reset

void reset()
Description copied from class: VariableMgr
Make the list of managed variables empty.

Specified by:
reset in class VariableMgr

eval

void eval(com.jclark.xsl.om.Node node,
          com.jclark.xsl.expr.ExprContext context)
    throws com.jclark.xsl.om.XSLException
Specified by:
eval in class VariableMgr
Throws:
com.jclark.xsl.om.XSLException

getVariableSet

com.jclark.xsl.expr.VariableSet getVariableSet()
Specified by:
getVariableSet in class VariableMgr

getVariableValue

com.jclark.xsl.expr.Variant getVariableValue(com.jclark.xsl.om.Name name)
                                       throws com.jclark.xsl.om.XSLException
Specified by:
getVariableValue in class VariableMgr
Throws:
com.jclark.xsl.om.XSLException