Package net.sf.saxon.regex
Class ATokenIterator
- java.lang.Object
-
- net.sf.saxon.regex.ATokenIterator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,SequenceIterator
,AtomicIterator
public class ATokenIterator extends java.lang.Object implements AtomicIterator
A ATokenIterator is an iterator over the strings that result from tokenizing a string using a regular expression
-
-
Constructor Summary
Constructors Constructor Description ATokenIterator(UnicodeString input, REMatcher matcher)
Construct an ATokenIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValue
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, discharge
-
-
-
-
Constructor Detail
-
ATokenIterator
public ATokenIterator(UnicodeString input, REMatcher matcher)
Construct an ATokenIterator.
-
-
Method Detail
-
next
public StringValue 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.
-
-