|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.storage.analysis.TextToken
Description of the Class
Field Summary | |
static int |
ACRONYM
|
static int |
ALPHA
|
static int |
ALPHANUM
|
static int |
DIGIT
|
static int |
EMAIL
|
static int |
EOF
|
static TextToken |
EOF_TOKEN
|
static int |
FLOAT
|
static int |
HOST
|
static int |
LETTER
|
static int |
NUMBER
|
static int |
P
|
static java.lang.String[] |
types
Description of the Field |
static int |
WS
|
static TextToken |
WS_TOKEN
|
Constructor Summary | |
TextToken()
|
|
TextToken(int type)
Constructor for the Token object |
|
TextToken(int type,
java.lang.CharSequence text)
Constructor for the Token object |
|
TextToken(int type,
java.lang.CharSequence text,
int start)
Constructor for the Token object |
|
TextToken(int type,
java.lang.CharSequence text,
int start,
int end)
Constructor for the Token object |
Method Summary | |
void |
consumeNext()
Description of the Method |
char |
getChar()
Gets the char attribute of the Token object |
java.lang.String |
getText()
Gets the text attribute of the Token object |
int |
getType()
Gets the type attribute of the Token object |
boolean |
isAlpha()
|
void |
set(int type,
java.lang.CharSequence text,
int start)
|
void |
setText(java.lang.String text)
Sets the text attribute of the Token object |
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ALPHA
public static final int ALPHANUM
public static final int DIGIT
public static final int EOF
public static final int FLOAT
public static final int LETTER
public static final int NUMBER
public static final int P
public static final int WS
public static final int HOST
public static final int EMAIL
public static final int ACRONYM
public static final TextToken WS_TOKEN
public static final TextToken EOF_TOKEN
public static final java.lang.String[] types
Constructor Detail |
public TextToken()
public TextToken(int type, java.lang.CharSequence text)
type
- Description of the Parametertext
- Description of the Parameterpublic TextToken(int type, java.lang.CharSequence text, int start)
type
- Description of the Parametertext
- Description of the Parameterstart
- Description of the Parameterpublic TextToken(int type, java.lang.CharSequence text, int start, int end)
type
- Description of the Parametertext
- Description of the Parameterstart
- Description of the Parameterend
- Description of the Parameterpublic TextToken(int type)
type
- Description of the ParameterMethod Detail |
public void set(int type, java.lang.CharSequence text, int start)
public boolean isAlpha()
public void consumeNext()
public char getChar()
public java.lang.String getText()
public int getType()
public void setType(int type)
public void setText(java.lang.String text)
text
- The new text value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |