net.sf.saxon.expr
public class ParentNodeExpression extends SingleNodeExpression
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 |
protected String | noContextMessage()
Customize the error message on type checking |
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.
|
Parameters: pathMap the PathMap to which the expression should be added pathMapNodeSet
Returns: the pathMapNode representing the focus established by this expression, in the case where this expression is the first operand of a path expression or filter expression
Returns: the copy of the original expression
Parameters: context The context for the evaluation
Returns: the parent of the current node defined by the context