|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.language.simple.types.SimpleToken
public final class SimpleToken
Holder for a token, with associated type and position in the input.
Constructor Summary | |
---|---|
SimpleToken(SimpleTokenType type,
int index)
|
|
SimpleToken(SimpleTokenType type,
int index,
int length)
|
Method Summary | |
---|---|
int |
getIndex()
|
int |
getLength()
|
String |
getText()
|
SimpleTokenType |
getType()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleToken(SimpleTokenType type, int index)
public SimpleToken(SimpleTokenType type, int index, int length)
Method Detail |
---|
public SimpleTokenType getType()
public int getIndex()
public String getText()
public int getLength()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |