|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface RegexIterator
This class is an interator that supports the evaluation of xsl:analyze-string. It returns all the matching and non-matching substrings in an input string, and provides access to their captured groups
| Field Summary |
|---|
| Fields inherited from interface net.sf.saxon.om.SequenceIterator |
|---|
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
| Method Summary | |
|---|---|
String |
getRegexGroup(int number)
Get a substring that matches a parenthesised group within the regular expression |
SequenceIterator |
getRegexGroupIterator()
Get a sequence containing all the regex captured groups relating to the current matching item (except group 0, because we want to use indexing from 1). |
boolean |
isMatching()
Determine whether the current item in the sequence is a matching item or a non-matching item |
| Methods inherited from interface net.sf.saxon.om.SequenceIterator |
|---|
current, getAnother, getProperties, next, position |
| Method Detail |
|---|
boolean isMatching()
String getRegexGroup(int number)
number - the number of the group to be obtained
SequenceIterator getRegexGroupIterator()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||