Package net.sf.saxon.str
Class CodepointIterator
java.lang.Object
net.sf.saxon.str.CodepointIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SequenceIterator
,AtomicIterator
Iterator over a string to produce a sequence of single character strings
-
Constructor Details
-
CodepointIterator
Create a codepoint iterator- Parameters:
codepoints
- iterator over the underlying codepoints
-
-
Method Details
-
next
Description copied from interface:AtomicIterator
Get the next atomic value in the sequence.- Specified by:
next
in interfaceAtomicIterator
- Specified by:
next
in interfaceSequenceIterator
- Returns:
- the next Item. If there are no more items, return null.
-