public class ParentNodeExpression extends SingleNodeExpression
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
Constructor and Description |
---|
ParentNodeExpression() |
Modifier and Type | Method and Description |
---|---|
void |
display(int level,
NamePool pool,
PrintStream out)
Diagnostic print of expression structure
|
boolean |
equals(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
|
computeCardinality, computeSpecialProperties, effectiveBooleanValue, evaluateItem, getIntrinsicDependencies, getItemType, iterate, optimize, typeCheck
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, dynamicError, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterateSubExpressions, markTailFunctionCalls, process, promote, resetStaticProperties, setLocationId, setParentExpression, simplify, suppressValidation, typeError, typeError
public NodeInfo getNode(XPathContext context) throws XPathException
getNode
in class SingleNodeExpression
context
- The context for the evaluationXPathException
public boolean equals(Object other)
public int hashCode()
public void display(int level, NamePool pool, PrintStream out)
level
- indentation level for this expressionpool
- NamePool used to expand any names appearing in the expressionout
- Output destination