Package net.sf.saxon.value
Class Whitespace.Tokenizer
- java.lang.Object
-
- net.sf.saxon.value.Whitespace.Tokenizer
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,SequenceIterator,AtomicIterator
- Enclosing class:
- Whitespace
public static class Whitespace.Tokenizer extends java.lang.Object implements AtomicIterator
An iterator that splits a string on whitespace boundaries, corresponding to the XPath 3.1 function tokenize#1
-
-
Constructor Summary
Constructors Constructor Description Tokenizer(java.lang.String input)Tokenizer(UnicodeString input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValuenext()Get the next atomic value in the sequence.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, discharge
-
-
-
-
Constructor Detail
-
Tokenizer
public Tokenizer(java.lang.String input)
-
Tokenizer
public Tokenizer(UnicodeString input)
-
-
Method Detail
-
next
public StringValue next()
Description copied from interface:AtomicIteratorGet the next atomic value in the sequence.- Specified by:
nextin interfaceAtomicIterator- Specified by:
nextin interfaceSequenceIterator- Returns:
- the next Item. If there are no more items, return null.
-
-