net.sf.saxon.expr
public class RootExpression extends SingleNodeExpression
| Method Summary | |
|---|---|
| int | computeCardinality()
Specify that the expression returns a singleton |
| 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? |
| 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 |
| Expression | simplify(StaticContext env)
Simplify an expression |
Parameters: th
Returns: Type.NODE
Parameters: context The evaluation context
Returns: the NodeInfo of the first selected element, or null if no element is selected
Returns: the simplified expression