Package net.sf.saxon.value
Class StringValue.CharacterIterator
java.lang.Object
net.sf.saxon.value.StringValue.CharacterIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,SequenceIterator<Int64Value>,UnfailingIterator<Int64Value>
- Enclosing class:
- StringValue
public static final class StringValue.CharacterIterator
extends Object
implements UnfailingIterator<Int64Value>
CharacterIterator is used to iterate over the characters in a string,
returning them as integers representing the Unicode code-point.
-
Field Summary
FieldsFields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties, materializeMethods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
Field Details
-
inpos
int inpos
-
-
Constructor Details
-
CharacterIterator
Create an iterator over a string
-
-
Method Details
-
next
Description copied from interface:UnfailingIteratorGet the next item in the sequence.- Specified by:
nextin interfaceSequenceIterator<Int64Value>- Specified by:
nextin interfaceUnfailingIterator<Int64Value>- Returns:
- the next Item. If there are no more items, return null.
-