org.apache.xerces.impl.xpath.regex
public class Match extends Object implements Cloneable
Version: $Id: Match.java,v 1.6 2004/10/04 22:07:40 mrglavas Exp $
See Also: (char[], int, int, Match)
(char[], Match)
RegularExpression RegularExpression RegularExpression
Constructor Summary | |
---|---|
Match()
Creates an instance. |
Method Summary | |
---|---|
Object | clone() |
int | getBeginning(int index)
Return a start position in the target text matched to specified regular expression group.
|
String | getCapturedText(int index)
Return an substring of the target text matched to specified regular expression group.
|
int | getEnd(int index)
Return an end position in the target text matched to specified regular expression group.
|
int | getNumberOfGroups()
Return the number of regular expression groups.
|
protected void | setBeginning(int index, int v) |
protected void | setEnd(int index, int v) |
protected void | setNumberOfGroups(int n) |
protected void | setSource(CharacterIterator ci) |
protected void | setSource(String str) |
protected void | setSource(char[] chars) |
Parameters: index Less than getNumberOfGroups()
.
Parameters: index Less than getNumberOfGroups()
.
Parameters: index Less than getNumberOfGroups()
.