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<Int64Value>,UnfailingIterator
- Enclosing class:
- StringValue
public static final class StringValue.CharacterIterator extends java.lang.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
-
-
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 Int64Valuenext()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, forEachOrFail, getProperties, materialize
-
Methods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
forEach, toList
-
-
-
-
Method Detail
-
next
public Int64Value next()
Description copied from interface:AtomicIteratorGet the next atomic value in the sequence.- Specified by:
nextin interfaceAtomicIterator<Int64Value>- Specified by:
nextin interfaceSequenceIterator- Specified by:
nextin interfaceUnfailingIterator- Returns:
- the next Item. If there are no more items, return null.
-
-