Package net.sf.saxon.value
Class StringValue.CharacterIterator
- java.lang.Object
-
- net.sf.saxon.value.StringValue.CharacterIterator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,SequenceIterator
,AtomicIterator
- Enclosing class:
- StringValue
public static final class StringValue.CharacterIterator extends java.lang.Object implements AtomicIterator
CharacterIterator is used to iterate over the characters in a string, returning them as integers representing the Unicode code-point.
-
-
Constructor Summary
Constructors Constructor Description CharacterIterator(java.lang.CharSequence value)
Create an iterator over a string
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Int64Value
next()
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
-
-
-
-
Method Detail
-
next
public Int64Value 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.
-
-