java.io.Serializable, javax.xml.transform.SourceLocator, Container, Expression, InstructionInfoProviderpublic class RootExpression extends SingleNodeExpression
locationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor | Description |
|---|---|
RootExpression() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
computeCardinality() |
Specify that the expression returns a singleton
|
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?
|
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
|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterateSubExpressions, markTailFunctionCalls, process, promote, replaceSubExpression, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, simplify, suppressValidation, typeErrorclone, finalize, getClass, notify, notifyAll, toString, 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 SingleNodeExpressionpublic ItemType getItemType(TypeHierarchy th)
getItemType in interface ExpressiongetItemType in class SingleNodeExpressionth - public 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 void display(int level,
java.io.PrintStream out,
Configuration config)
level - indentation level for this expressionout - Output destination