| |
|
| java.lang.Object net.sf.saxon.expr.StaticProperty
StaticProperty | abstract public class StaticProperty (Code) | | This class contains constants identifying dependencies that an XPath expression
might have on its context.
|
ALLOWS_MANY | final public static int ALLOWS_MANY(Code) | | Bit set if multiple values are allowed
|
ALLOWS_ONE | final public static int ALLOWS_ONE(Code) | | Bit set if a single value is allowed
|
ALLOWS_ONE_OR_MORE | final public static int ALLOWS_ONE_OR_MORE(Code) | | Occurence indicator for "one or more" (+)
|
ALLOWS_ZERO | final public static int ALLOWS_ZERO(Code) | | |
ALLOWS_ZERO_OR_MORE | final public static int ALLOWS_ZERO_OR_MORE(Code) | | Occurence indicator for "zero or more" (*)
|
ALLOWS_ZERO_OR_ONE | final public static int ALLOWS_ZERO_OR_ONE(Code) | | Occurence indicator for "zero or one" (?)
|
ATTRIBUTE_NS_NODESET | final public static int ATTRIBUTE_NS_NODESET(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression that delivers a set of nodes with the guarantee that every node in the
result will be an attribute or namespace of the context node
|
CARDINALITY_MASK | final public static int CARDINALITY_MASK(Code) | | Mask for all cardinality bits
|
CONTEXT_DOCUMENT_NODESET | final public static int CONTEXT_DOCUMENT_NODESET(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression whose item type is node, when the nodes in the result are
guaranteed all to be in the same document as the context node. For
expressions that return values other than nodes, the setting is undefined.
|
DEPENDENCY_MASK | final public static int DEPENDENCY_MASK(Code) | | Mask to select all the dependency bits
|
DEPENDS_ON_CONTEXT_DOCUMENT | final public static int DEPENDS_ON_CONTEXT_DOCUMENT(Code) | | Bit setting: Expression depends on the document containing the context node
|
DEPENDS_ON_CONTEXT_ITEM | final public static int DEPENDS_ON_CONTEXT_ITEM(Code) | | Bit setting: Expression depends on context item
|
DEPENDS_ON_CURRENT_GROUP | final public static int DEPENDS_ON_CURRENT_GROUP(Code) | | Bit setting: Expression depends on current-group() and/or current-grouping-key()
|
DEPENDS_ON_CURRENT_ITEM | final public static int DEPENDS_ON_CURRENT_ITEM(Code) | | Bit setting: Expression depends on current() item
|
DEPENDS_ON_FOCUS | final public static int DEPENDS_ON_FOCUS(Code) | | Combination of bits representing dependencies on the focus
|
DEPENDS_ON_LAST | final public static int DEPENDS_ON_LAST(Code) | | Bit setting: Expression depends on last()
|
DEPENDS_ON_LOCAL_VARIABLES | final public static int DEPENDS_ON_LOCAL_VARIABLES(Code) | | Bit setting: Expression depends on local variables
|
DEPENDS_ON_NON_DOCUMENT_FOCUS | final public static int DEPENDS_ON_NON_DOCUMENT_FOCUS(Code) | | Combination of bits representing dependencies on the focus, but excluding dependencies
on the current document
|
DEPENDS_ON_POSITION | final public static int DEPENDS_ON_POSITION(Code) | | Bit setting: Expression depends on position()
|
DEPENDS_ON_REGEX_GROUP | final public static int DEPENDS_ON_REGEX_GROUP(Code) | | Bit setting: Expression depends on regex-group()
|
DEPENDS_ON_USER_FUNCTIONS | final public static int DEPENDS_ON_USER_FUNCTIONS(Code) | | Bit setting: Expression depends on user-defined functions
|
DEPENDS_ON_XSLT_CONTEXT | final public static int DEPENDS_ON_XSLT_CONTEXT(Code) | | Combination of bits representing dependencies on the XSLT context
|
EMPTY | final public static int EMPTY(Code) | | Occurence indicator when an empty sequence is required
|
EXACTLY_ONE | final public static int EXACTLY_ONE(Code) | | Occurence indicator for "exactly one" (default occurrence indicator)
|
NON_CREATIVE | final public static int NON_CREATIVE(Code) | | Expression property: this bit is set in the case of an expression that will
never return newly created nodes, nor a value that depends on the identity
of newly created nodes (for example generate-id(new-node())). Expressions
that do create new nodes cannot be moved out of loops as this could cause
too few nodes to be created: for example if f() creates a new node, then
count(for $i in 1 to 5 return f()) must be 5.
|
ORDERED_NODESET | final public static int ORDERED_NODESET(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression whose item type is node, when the nodes in the result are
in document order.
|
PEER_NODESET | final public static int PEER_NODESET(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression that delivers a set of nodes with the guarantee that no node in the
set will be an ancestor of any other. This property is useful in deciding whether the
results of a path expression are pre-sorted. The property is only used in the case where
the NATURALLY_SORTED property is true, so there is no point in setting it in other cases.
|
REVERSE_DOCUMENT_ORDER | final public static int REVERSE_DOCUMENT_ORDER(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression that delivers items in the reverse of the correct order, when unordered
retrieval is requested.
|
SINGLE_DOCUMENT_NODESET | final public static int SINGLE_DOCUMENT_NODESET(Code) | | Expression property: this bit is set in the case of an expression that delivers
a set of nodes that are all in the same document (not necessarily the same
document as the context node).
|
SPECIAL_PROPERTY_MASK | final public static int SPECIAL_PROPERTY_MASK(Code) | | Mask for "special properties": that is, all properties other than cardinality
and dependencies
|
SUBTREE_NODESET | final public static int SUBTREE_NODESET(Code) | | Expression property: this bit is set by getProperties() in the case of
an expression that delivers a set of nodes with the guarantee that every node in the
result will be a descendant or self, or attribute or namespace, of the context node
|
getCardinalityCode | final public static int getCardinalityCode(int cardinality)(Code) | | Reduce the cardinality value to an integer in the range 0-7
|
getCardinalityDescription | final public static String getCardinalityDescription(int cardinality)(Code) | | Display the cardinality value as a string (used for diagnostics)
|
|
|
|