net.sf.saxon.functions

Class Subsequence

public class Subsequence extends SystemFunction

Implements the XPath 2.0 subsequence() function
Method Summary
intcomputeSpecialProperties()
Get the static properties of this expression (other than its type).
ItemTypegetItemType(TypeHierarchy th)
Determine the data type of the items in the sequence
SequenceIteratoriterate(XPathContext context)
Evaluate the function to return an iteration of selected nodes.

Method Detail

computeSpecialProperties

public int computeSpecialProperties()
Get the static properties of this expression (other than its type). The result is bit-significant. These properties are used for optimizations. In general, if property bit is set, it is true, but if it is unset, the value is unknown.

getItemType

public ItemType getItemType(TypeHierarchy th)
Determine the data type of the items in the sequence

Parameters: th

Returns: the type of the argument

iterate

public SequenceIterator iterate(XPathContext context)
Evaluate the function to return an iteration of selected nodes.