|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.el.Tokenizer
public class Tokenizer
converts a EL expression into tokens.
| Nested Class Summary | |
|---|---|
class |
Tokenizer.Token
|
| Field Summary | |
|---|---|
static int |
EXP_END_TYPE
Identifies the expression end character. |
static int |
EXP_START_TYPE
Identifies the expression start string. |
static int |
NUMBER_TYPE
identifies a number eg: "123", "321.321" |
static int |
OPER_TYPE
Identifies an operator. |
static int |
QUOTED_TYPE
Identifies a quotation. |
static int |
TEXT_TYPE
Identifies some plain text |
static int |
VAR_TYPE
Identifies a variable usage. |
static int |
WHITE_SPACE_TYPE
Identifies a series of whitespace characters |
| Constructor Summary | |
|---|---|
Tokenizer(java.lang.String expression)
Creates a new Tokenizer |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Tokenizer.Token |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TEXT_TYPE
public static final int EXP_START_TYPE
public static final int EXP_END_TYPE
public static final int WHITE_SPACE_TYPE
public static final int QUOTED_TYPE
public static final int VAR_TYPE
public static final int NUMBER_TYPE
public static final int OPER_TYPE
| Constructor Detail |
|---|
public Tokenizer(java.lang.String expression)
expression - the expression to tokenize| Method Detail |
|---|
public void remove()
remove in interface java.util.Iterator<Tokenizer.Token>public boolean hasNext()
hasNext in interface java.util.Iterator<Tokenizer.Token>public Tokenizer.Token next()
next in interface java.util.Iterator<Tokenizer.Token>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||