|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xpointer.custom.Regexp
Constructor Summary | |
Regexp(Location location)
Creates new Regexp |
|
Regexp(org.w3c.dom.Node node)
Creates new Regexp |
Method Summary | |
org.w3c.dom.ranges.Range[] |
getGroups(int index)
Returns an array of ranges which contain the string-value selected by a sub-pattern of this regular expression enclosed by parenthesis. |
org.w3c.dom.ranges.Range[] |
getRegexp(java.lang.String pattern)
Returns an array of ranges containing the string-value selected by the regular expression. |
void |
setFlag(int flag)
Set a compilation flag for the regular expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Regexp(Location location)
location
- the location where the matching string is looked forpublic Regexp(org.w3c.dom.Node node)
node
- the node where the matching string is looked forMethod Detail |
public org.w3c.dom.ranges.Range[] getRegexp(java.lang.String pattern)
public org.w3c.dom.ranges.Range[] getGroups(int index)
index
- the index of the sub-pattern to be returnedpublic void setFlag(int flag)
flag
- the compilation flag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |