java.io.Serializable, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, InstructionInfo, org.xml.sax.Locatorpublic class RootExpression extends SingleNodeExpression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties| Constructor | Description |
|---|---|
RootExpression() |
| Modifier and Type | Method | Description |
|---|---|---|
PathMap.PathMapNodeSet |
addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet) |
Add a representation of this expression to a PathMap.
|
int |
computeCardinality() |
Specify that the expression returns a singleton
|
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.
|
int |
getIntrinsicDependencies() |
Determine which aspects of the context the expression depends on.
|
ItemType |
getItemType(TypeHierarchy th) |
Determine the data type of the items returned by this expression
|
NodeInfo |
getNode(XPathContext context) |
Return the first element selected by this Expression
|
int |
hashCode() |
get HashCode for comparing two expressions
|
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, display, doPromotion, dynamicError, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, iterateSubExpressions, markTailFunctionCalls, process, promote, replaceSubExpression, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, simplify, staticTypeCheck, suppressValidation, typeErrorclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomputeSpecialProperties, effectiveBooleanValue, evaluateItem, iterate, optimize, typeCheckpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic final int computeCardinality()
computeCardinality in class SingleNodeExpressionStaticProperty.ALLOWS_ZERO_OR_ONE,
StaticProperty.EXACTLY_ONE, StaticProperty.ALLOWS_ONE_OR_MORE,
StaticProperty.ALLOWS_ZERO_OR_MOREpublic ItemType getItemType(TypeHierarchy th)
getItemType in class SingleNodeExpressionth - the type hierarchy cachepublic int hashCode()
hashCode in class java.lang.Objectpublic NodeInfo getNode(XPathContext context) throws XPathException
getNode in class SingleNodeExpressioncontext - The evaluation contextXPathExceptionpublic int getIntrinsicDependencies()
getIntrinsicDependencies in class SingleNodeExpressionpublic Expression copy()
copy in class Expressionpublic PathMap.PathMapNodeSet addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
addToPathMap in class ExpressionpathMap - the PathMap to which the expression should be addedpathMapNodeSet - public java.lang.String toString()
toString in class Expressionpublic void explain(ExpressionPresenter destination)
explain in class Expressiondestination - the expression presenter used to display the structure