|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.utils.regex.Match
An instance of this class has ranges captured in matching.
RegularExpression.matches(char[], int, int, weblogic.apache.xerces.utils.regex.Match)
,
RegularExpression.matches(char[], weblogic.apache.xerces.utils.regex.Match)
,
RegularExpression.matches(java.text.CharacterIterator, weblogic.apache.xerces.utils.regex.Match)
,
RegularExpression.matches(java.lang.String, int, int, weblogic.apache.xerces.utils.regex.Match)
,
RegularExpression.matches(java.lang.String, weblogic.apache.xerces.utils.regex.Match)
Constructor Summary | |
Match()
Creates an instance. |
Method Summary | |
java.lang.Object |
clone()
|
int |
getBeginning(int index)
Return a start position in the target text matched to specified regular expression group. |
java.lang.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(char[] chars)
|
protected void |
setSource(java.text.CharacterIterator ci)
|
protected void |
setSource(java.lang.String str)
|
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Match()
Method Detail |
public java.lang.Object clone()
protected void setNumberOfGroups(int n)
protected void setSource(java.text.CharacterIterator ci)
protected void setSource(java.lang.String str)
protected void setSource(char[] chars)
protected void setBeginning(int index, int v)
protected void setEnd(int index, int v)
public int getNumberOfGroups()
public int getBeginning(int index)
index
- Less than getNumberOfGroups()
.public int getEnd(int index)
index
- Less than getNumberOfGroups()
.public java.lang.String getCapturedText(int index)
index
- Less than getNumberOfGroups()
.
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |