org.apache.camel.language.simple.types
Class SimpleToken
java.lang.Object
org.apache.camel.language.simple.types.SimpleToken
public final class SimpleToken
- extends Object
Holder for a token, with associated type and position in the input.
SimpleToken
public SimpleToken(SimpleTokenType type,
int index)
SimpleToken
public SimpleToken(SimpleTokenType type,
int index,
int length)
getType
public SimpleTokenType getType()
getIndex
public int getIndex()
getText
public String getText()
getLength
public int getLength()
toString
public String toString()
- Overrides:
toString
in class Object
Apache CAMEL