| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.SingleNodeExpression net.sf.saxon.expr.RootExpression
RootExpression | public class RootExpression extends SingleNodeExpression (Code) | | An expression whose value is always a set of nodes containing a single node,
the document root. This corresponds to the XPath Expression "/", including the implicit
"/" at the start of a path expression with a leading "/".
|
computeCardinality | final public int computeCardinality()(Code) | | Specify that the expression returns a singleton
|
equals | public boolean equals(Object other)(Code) | | Is this expression the same as another expression?
|
getIntrinsicDependencies | public int getIntrinsicDependencies()(Code) | | Determine which aspects of the context the expression depends on. The result is
a bitwise-or'ed value composed from constants such as StaticProperty.VARIABLES and
StaticProperty.CURRENT_NODE
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the data type of the items returned by this expression
Type.NODE Parameters: th - |
getNode | public NodeInfo getNode(XPathContext context) throws XPathException(Code) | | Return the first element selected by this Expression
Parameters: context - The evaluation context the NodeInfo of the first selected element, or null if no elementis selected |
hashCode | public int hashCode()(Code) | | get HashCode for comparing two expressions
|
|
|