Package net.sf.saxon.value
Class StringValue.CharacterIterator
java.lang.Object
net.sf.saxon.value.StringValue.CharacterIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,SequenceIterator,AtomicIterator
- Enclosing class:
StringValue
CharacterIterator is used to iterate over the characters in a string,
returning them as integers representing the Unicode code-point.
-
Constructor Details
-
CharacterIterator
Create an iterator over a string- Parameters:
value- the string
-
-
Method Details
-
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.
-