Package net.sf.saxon.regex
Class ATokenIterator
java.lang.Object
net.sf.saxon.regex.ATokenIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,SequenceIterator,AtomicIterator,UnfailingIterator
A ATokenIterator is an iterator over the strings that result from tokenizing a string using a regular expression
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.saxon.om.SequenceIterator
SequenceIterator.Property -
Constructor Summary
ConstructorsConstructorDescriptionATokenIterator(UnicodeString input, REMatcher matcher) Construct an ATokenIterator. -
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
forEach, toList
-
Constructor Details
-
ATokenIterator
Construct an ATokenIterator.
-
-
Method Details
-
next
Description copied from interface:AtomicIteratorGet the next atomic value in the sequence.- Specified by:
nextin interfaceAtomicIterator- Specified by:
nextin interfaceSequenceIterator- Specified by:
nextin interfaceUnfailingIterator- Returns:
- the next Item. If there are no more items, return null.
-