com.jclark.xsl.expr
Class ConvertibleNodeSetExpr
- NodeSetExpr
(package private) abstract class ConvertibleNodeSetExpr
A compiled XPath pattern component which returns a Node set, but is
convertible (castable) to a String expression, boolean expression
or VariantExpression
(package private) static int | SINGLE_LEVEL - If this is set, then all nodes in the result of eval(x, c) are
guaranteed to be at the same level of the tree.
|
(package private) static int | STAYS_IN_SUBTREE - If this is set, then all nodes in the result of eval(x, c)
are guaranteed to be in the subtree rooted at x.
|
SINGLE_LEVEL
(package private) static final int SINGLE_LEVEL
If this is set, then all nodes in the result of eval(x, c) are
guaranteed to be at the same level of the tree. More precisely,
define the level of a node to be the number of ancestors it has,
and then define an expression to be single-level if and only if
there exists an integer n such that for any node x, for any node
y in the result of evaluating the expression with respect to x,
the difference between the level of x and the level of y is equal
to n. For example, the children axis is single-level but the
descendants axis is not.
STAYS_IN_SUBTREE
(package private) static final int STAYS_IN_SUBTREE
If this is set, then all nodes in the result of eval(x, c)
are guaranteed to be in the subtree rooted at x.
getChildrenNodePattern
(package private) Pattern getChildrenNodePattern()
getOptimizeFlags
(package private) int getOptimizeFlags()