java.io.Serializable
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, InstructionInfo
, org.xml.sax.Locator
public class ParentNodeExpression extends SingleNodeExpression
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, PUSH_SELECTION, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD
Constructor | Description |
---|---|
ParentNodeExpression() |
Modifier and Type | Method | Description |
---|---|---|
PathMap.PathMapNodeSet |
addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet) |
Add a representation of this expression to a PathMap.
|
Expression |
copy() |
Copy an expression.
|
boolean |
equals(java.lang.Object other) |
Is this expression the same as another expression?
|
void |
explain(ExpressionPresenter destination) |
Diagnostic print of expression structure.
|
java.lang.String |
getExpressionName() |
Get a name identifying the kind of expression, in terms meaningful to a user.
|
NodeInfo |
getNode(XPathContext context) |
Return the node selected by this SingleNodeExpression
|
int |
hashCode() |
get HashCode for comparing two expressions
|
protected java.lang.String |
noContextMessage() |
Customize the error message on type checking
|
java.lang.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.
|
adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getImplementationMethod, getIntegerBounds, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, hasVariableBinding, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, iterateSubExpressions, markTailFunctionCalls, process, promote, replaceSubExpression, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, simplify, staticTypeCheck, suppressValidation, typeError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
computeCardinality, computeSpecialProperties, effectiveBooleanValue, evaluateItem, getIntrinsicDependencies, getItemType, isContextPossiblyUndefined, iterate, optimize, typeCheck
public java.lang.String getExpressionName()
getExpressionName
in class Expression
protected java.lang.String noContextMessage()
noContextMessage
in class SingleNodeExpression
public NodeInfo getNode(XPathContext context) throws XPathException
getNode
in class SingleNodeExpression
context
- The context for the evaluationXPathException
public Expression copy()
copy
in class Expression
public PathMap.PathMapNodeSet addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
addToPathMap
in class Expression
pathMap
- the PathMap to which the expression should be addedpathMapNodeSet
- public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class Expression
public void explain(ExpressionPresenter destination)
explain
in class Expression
destination
- the expression presenter used to display the structure