Package net.sf.saxon.value
Class StringValue.CharacterIterator
java.lang.Object
net.sf.saxon.value.StringValue.CharacterIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SequenceIterator
,AtomicIterator<Int64Value>
,UnfailingIterator
- Enclosing class:
StringValue
public static final class StringValue.CharacterIterator
extends Object
implements AtomicIterator<Int64Value>
CharacterIterator is used to iterate over the characters in a string,
returning them as integers representing the Unicode code-point.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.saxon.om.SequenceIterator
SequenceIterator.Property
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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, forEachOrFail, getProperties, materialize
Methods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
forEach, toList
-
Field Details
-
inpos
int inpos
-
-
Constructor Details
-
CharacterIterator
Create an iterator over a string
-
-
Method Details
-
next
Description copied from interface:AtomicIterator
Get the next atomic value in the sequence.- Specified by:
next
in interfaceAtomicIterator<Int64Value>
- Specified by:
next
in interfaceSequenceIterator
- Specified by:
next
in interfaceUnfailingIterator
- Returns:
- the next Item. If there are no more items, return null.
-