public class XUnresolvedVariable extends XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE| Constructor and Description |
|---|
XUnresolvedVariable(ElemVariable obj,
int sourceNode,
TransformerImpl transformer,
int varStackPos,
int varStackContext,
boolean isGlobal)
Create an XUnresolvedVariable, that may be executed at a later time.
|
| Modifier and Type | Method and Description |
|---|---|
XObject |
execute(XPathContext xctxt)
For support of literal objects in xpaths.
|
int |
getType()
Tell what kind of class this is.
|
java.lang.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.
|
allowDetachToRelease, appendToFsb, bool, boolWithSideEffects, callVisitors, castToType, create, create, deepEquals, destruct, detach, dispatchCharactersEvents, equals, fixupVariables, getFresh, greaterThan, greaterThanOrEqual, iter, lessThan, lessThanOrEqual, mutableNodeset, nodelist, nodeset, notEquals, num, numWithSideEffects, object, reset, rtf, rtf, rtree, rtree, str, toString, xstrasIterator, asIteratorRaw, asNode, assertion, bool, canTraverseOutsideSubtree, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstrpublic XUnresolvedVariable(ElemVariable obj, int sourceNode, TransformerImpl transformer, int varStackPos, int varStackContext, boolean isGlobal)
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.public XObject execute(XPathContext xctxt) throws TransformerException
execute in class XObjectxctxt - The XPath execution context.TransformerExceptionpublic void setVarStackPos(int top)
top - A valid value that specifies where in the variable
stack the search should begin.public void setVarStackContext(int bottom)
bottom - The point at which the search should terminate, normally
zero for global variables.public int getType()
public java.lang.String getTypeString()
getTypeString in class XObjectCopyright © 2014 Apache XML Project. All Rights Reserved.