gnu.regexp
Class RETokenPOSIX
java.lang.Object
gnu.regexp.REToken
gnu.regexp.RETokenPOSIX
- All Implemented Interfaces:
- java.io.Serializable
- final class RETokenPOSIX
- extends REToken
Field Summary |
(package private) static int |
ALNUM
|
(package private) static int |
ALPHA
|
(package private) static int |
BLANK
|
(package private) static int |
CNTRL
|
(package private) static int |
DIGIT
|
(package private) static int |
GRAPH
|
(package private) boolean |
insens
|
(package private) static int |
LOWER
|
(package private) boolean |
negated
|
protected REToken |
next
|
(package private) static int |
PRINT
|
(package private) static int |
PUNCT
|
(package private) static java.lang.String[] |
s_nameTable
|
(package private) static int |
SPACE
|
protected int |
subIndex
|
(package private) int |
type
|
protected REToken |
uncle
|
(package private) static int |
UPPER
|
(package private) static int |
XDIGIT
|
Constructor Summary |
(package private) |
RETokenPOSIX(int subIndex,
int type,
boolean insens,
boolean negated)
|
Method Summary |
(package private) boolean |
chain(REToken token)
|
(package private) void |
dump(java.lang.StringBuffer os)
|
(package private) void |
dumpAll(java.lang.StringBuffer os)
|
(package private) int |
getMinimumLength()
|
(package private) static int |
intValue(java.lang.String key)
|
(package private) boolean |
match(CharIndexed input,
REMatch mymatch)
Returns true if the match succeeded, false if it failed. |
protected boolean |
next(CharIndexed input,
REMatch mymatch)
Returns true if the rest of the tokens match, false if they fail. |
(package private) void |
setUncle(REToken anUncle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
int type
insens
boolean insens
negated
boolean negated
ALNUM
static final int ALNUM
- See Also:
- Constant Field Values
ALPHA
static final int ALPHA
- See Also:
- Constant Field Values
BLANK
static final int BLANK
- See Also:
- Constant Field Values
CNTRL
static final int CNTRL
- See Also:
- Constant Field Values
DIGIT
static final int DIGIT
- See Also:
- Constant Field Values
GRAPH
static final int GRAPH
- See Also:
- Constant Field Values
LOWER
static final int LOWER
- See Also:
- Constant Field Values
PRINT
static final int PRINT
- See Also:
- Constant Field Values
PUNCT
static final int PUNCT
- See Also:
- Constant Field Values
SPACE
static final int SPACE
- See Also:
- Constant Field Values
UPPER
static final int UPPER
- See Also:
- Constant Field Values
XDIGIT
static final int XDIGIT
- See Also:
- Constant Field Values
s_nameTable
static final java.lang.String[] s_nameTable
next
protected REToken next
uncle
protected REToken uncle
subIndex
protected int subIndex
RETokenPOSIX
RETokenPOSIX(int subIndex,
int type,
boolean insens,
boolean negated)
intValue
static int intValue(java.lang.String key)
getMinimumLength
int getMinimumLength()
- Overrides:
getMinimumLength
in class REToken
match
boolean match(CharIndexed input,
REMatch mymatch)
- Description copied from class:
REToken
- Returns true if the match succeeded, false if it failed.
- Specified by:
match
in class REToken
dump
void dump(java.lang.StringBuffer os)
- Specified by:
dump
in class REToken
setUncle
void setUncle(REToken anUncle)
next
protected boolean next(CharIndexed input,
REMatch mymatch)
- Returns true if the rest of the tokens match, false if they fail.
chain
boolean chain(REToken token)
dumpAll
void dumpAll(java.lang.StringBuffer os)