|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.SingleNodeExpression
net.sf.saxon.expr.ParentNodeExpression
Class ParentNodeExpression represents the XPath expression ".." or "parent::node()"
Field Summary |
Fields inherited from class net.sf.saxon.expr.ComputedExpression |
locationId, staticProperties |
Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
Constructor Summary | |
ParentNodeExpression()
|
Method Summary | |
void |
display(int level,
java.io.PrintStream out,
Configuration config)
Diagnostic print of expression structure |
boolean |
equals(java.lang.Object other)
Is this expression the same as another expression? |
NodeInfo |
getNode(XPathContext context)
Return the node selected by this SingleNodeExpression |
int |
hashCode()
get HashCode for comparing two expressions |
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 |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParentNodeExpression()
Method Detail |
public NodeInfo getNode(XPathContext context) throws XPathException
getNode
in class SingleNodeExpression
context
- The context for the evaluation
XPathException
public boolean equals(java.lang.Object other)
public int hashCode()
public void display(int level, java.io.PrintStream out, Configuration config)
level
- indentation level for this expressionout
- Output destinationconfig
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |