|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.SingleNodeExpression
net.sf.saxon.expr.ParentNodeExpression
public class ParentNodeExpression
Class ParentNodeExpression represents the XPath expression ".." or "parent::node()"
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
|---|---|
ParentNodeExpression()
|
|
| Method Summary | |
|---|---|
PathMap.PathMapNodeSet |
addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet)
Add a representation of this expression to a PathMap. |
Expression |
copy()
Copy an expression. |
boolean |
equals(Object other)
Is this expression the same as another expression? |
void |
explain(ExpressionPresenter destination)
Diagnostic print of expression structure. |
NodeInfo |
getNode(XPathContext context)
Return the node selected by this SingleNodeExpression |
int |
hashCode()
get HashCode for comparing two expressions |
String |
toString()
The toString() method for an expression attempts to give a representation of the expression in an XPath-like form, but there is no guarantee that the syntax will actually be true XPath. |
| Methods inherited from class net.sf.saxon.expr.SingleNodeExpression |
|---|
computeCardinality, computeSpecialProperties, effectiveBooleanValue, evaluateItem, getIntrinsicDependencies, getItemType, iterate, optimize, typeCheck |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParentNodeExpression()
| Method Detail |
|---|
public NodeInfo getNode(XPathContext context)
throws XPathException
getNode in class SingleNodeExpressioncontext - The context for the evaluation
XPathExceptionpublic Expression copy()
copy in class Expression
public PathMap.PathMapNodeSet addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet)
addToPathMap in class ExpressionpathMap - the PathMap to which the expression should be addedpathMapNodeSet -
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Expressionpublic void explain(ExpressionPresenter destination)
explain in class Expressiondestination - the expression presenter used to display the structure
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||