public class XRTreeFragSelectWrapper extends XRTreeFrag implements java.lang.Cloneable
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE| Constructor and Description |
|---|
XRTreeFragSelectWrapper(Expression expr) |
| Modifier and Type | Method and Description |
|---|---|
DTMIterator |
asNodeIterator()
Cast result object to a DTMIterator.
|
void |
detach()
Detaches the
DTMIterator from the set which it iterated
over, releasing any computational resources and placing the iterator
in the INVALID state. |
XObject |
execute(XPathContext xctxt)
For support of literal objects in xpaths.
|
void |
fixupVariables(java.util.Vector vars,
int globalsSize)
This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
|
int |
getType()
Tell what kind of class this is.
|
double |
num()
Cast result object to a number.
|
int |
rtf()
Cast result object to a result tree fragment.
|
java.lang.String |
str()
Cast result object to a string.
|
XMLString |
xstr()
Cast result object to an XMLString.
|
allowDetachToRelease, appendToFsb, bool, convertToNodeset, equals, getTypeString, objectboolWithSideEffects, callVisitors, castToType, create, create, deepEquals, destruct, dispatchCharactersEvents, getFresh, greaterThan, greaterThanOrEqual, iter, lessThan, lessThanOrEqual, mutableNodeset, nodelist, nodeset, notEquals, numWithSideEffects, reset, rtf, rtree, rtree, toStringasIterator, 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 XRTreeFragSelectWrapper(Expression expr)
public void fixupVariables(java.util.Vector vars,
int globalsSize)
fixupVariables in class XObjectvars - List of QNames that correspond to variables. This list
should be searched backwards for the first qualified name that
corresponds to the variable reference qname. The position of the
QName in the vector from the start of the vector will be its position
in the stack frame (but variables above the globalsTop value will need
to be offset to the current stack frame).public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
public void detach()
DTMIterator from the set which it iterated
over, releasing any computational resources and placing the iterator
in the INVALID state. After detach has been invoked,
calls to nextNode or previousNode will
raise a runtime exception.
In general, detach should only be called once on the object.detach in class XRTreeFragpublic double num()
throws javax.xml.transform.TransformerException
num in class XRTreeFragjavax.xml.transform.TransformerExceptionpublic XMLString xstr()
xstr in class XRTreeFragpublic java.lang.String str()
str in class XRTreeFragpublic int getType()
getType in class XRTreeFragpublic int rtf()
rtf in class XRTreeFragpublic DTMIterator asNodeIterator()
asNodeIterator in class XRTreeFragCopyright © 2023 Apache XML Project. All Rights Reserved.