| |
|
| java.lang.Object org.apache.xpath.Expression org.apache.xpath.objects.XObject org.apache.xpath.objects.XRTreeFrag org.apache.xpath.objects.XRTreeFragSelectWrapper
XRTreeFragSelectWrapper | public class XRTreeFragSelectWrapper extends XRTreeFrag implements Cloneable(Code) | | This class makes an select statement act like an result tree fragment.
|
Method Summary | |
public DTMIterator | asNodeIterator() Cast result object to a DTMIterator. | public void | detach() Detaches the DTMIterator from the set which it iterated
over, releasing any computational resources and placing the iterator
in the INVALID state. | public XObject | execute(XPathContext xctxt) For support of literal objects in xpaths.
Parameters: xctxt - The XPath execution context. | public 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.
Parameters: vars - List of QNames that correspond to variables. | public int | getType() Tell what kind of class this is. | public double | num() Cast result object to a number. | public int | rtf() Cast result object to a result tree fragment. | public String | str() Cast result object to a string.
The document fragment node data or the empty string. | public XMLString | xstr() Cast result object to an XMLString.
The document fragment node data or the empty string. |
serialVersionUID | final static long serialVersionUID(Code) | | |
asNodeIterator | public DTMIterator asNodeIterator()(Code) | | Cast result object to a DTMIterator.
The document fragment as a DTMIterator |
detach | public void detach()(Code) | | Detaches the 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.
|
fixupVariables | public void fixupVariables(java.util.Vector vars, int globalsSize)(Code) | | This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
Parameters: vars - 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). |
getType | public int getType()(Code) | | Tell what kind of class this is.
the string type |
rtf | public int rtf()(Code) | | Cast result object to a result tree fragment.
The document fragment this wraps |
str | public String str()(Code) | | Cast result object to a string.
The document fragment node data or the empty string. |
xstr | public XMLString xstr()(Code) | | Cast result object to an XMLString.
The document fragment node data or the empty string. |
Methods inherited from org.apache.xpath.Expression | public DTMIterator asIterator(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public DTMIterator asIteratorRaw(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public int asNode(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void assertion(boolean b, java.lang.String msg)(Code)(Java Doc) public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public boolean canTraverseOutsideSubtree()(Code)(Java Doc) abstract public boolean deepEquals(Expression expr)(Code)(Java Doc) public void error(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) throws javax.xml.transform.TransformerException(Code)(Java Doc) abstract public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, boolean destructiveOK) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException(Code)(Java Doc) public void exprAddChild(ExpressionNode n, int i)(Code)(Java Doc) public ExpressionNode exprGetChild(int i)(Code)(Java Doc) public int exprGetNumChildren()(Code)(Java Doc) public ExpressionNode exprGetParent()(Code)(Java Doc) public void exprSetParent(ExpressionNode n)(Code)(Java Doc) abstract public void fixupVariables(java.util.Vector vars, int globalsSize)(Code)(Java Doc) public int getColumnNumber()(Code)(Java Doc) public ExpressionNode getExpressionOwner()(Code)(Java Doc) public int getLineNumber()(Code)(Java Doc) public String getPublicId()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public boolean isNodesetExpr()(Code)(Java Doc) final protected boolean isSameClass(Expression expr)(Code)(Java Doc) public boolean isStableNumber()(Code)(Java Doc) public double num(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void warn(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XMLString xstr(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
|
|
|
|