net.sf.saxon.expr
public class StringTokenIterator extends Object implements UnfailingIterator
Constructor Summary | |
---|---|
StringTokenIterator(String string)
Construct a StringTokenIterator that will break the supplied
string into tokens at whitespace boundaries | |
StringTokenIterator(String string, String delimiters)
Construct a StringTokenIterator that will break the supplied
string into tokens at any of the delimiter characters included in the
delimiter string. |
Method Summary | |
---|---|
void | close() |
Item | current() |
SequenceIterator | getAnother() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
Item | next() |
int | position() |
Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and LOOKAHEAD. It is always acceptable to return the value zero, indicating that there are no known special properties. It is acceptable for the properties of the iterator to change depending on its state.