org.apache.xalan.templates
public class XUnresolvedVariable extends XObject
Constructor Summary | |
---|---|
XUnresolvedVariable(ElemVariable obj, int sourceNode, TransformerImpl transformer, int varStackPos, int varStackContext, boolean isGlobal)
Create an XUnresolvedVariable, that may be executed at a later time.
|
Method Summary | |
---|---|
XObject | execute(XPathContext xctxt)
For support of literal objects in xpaths.
|
int | getType()
Tell what kind of class this is.
|
String | getTypeString()
Given a request type, return the equivalent string.
|
void | setVarStackContext(int bottom)
Set an index into the variable stack where the variable context
ends, i.e. at the point we should terminate the search.
|
void | setVarStackPos(int top)
Set an index to the point in the variable stack where we should
begin variable searches for evaluation of expressions.
|
Parameters: obj Must be a non-null reference to an ElemVariable. sourceNode The node context for execution. transformer The transformer execution context. varStackPos An index to the point in the variable stack where we should begin variable searches for evaluation of expressions. varStackContext An index into the variable stack where the variable context ends, i.e. at the point we should terminate the search. isGlobal true if this is a global variable.
Parameters: xctxt The XPath execution context.
Returns: This object.
Throws: javax.xml.transform.TransformerException
Returns: CLASS_UNRESOLVEDVARIABLE
Returns: An informational string.
Parameters: bottom The point at which the search should terminate, normally zero for global variables.
Parameters: top A valid value that specifies where in the variable stack the search should begin.