Package org.geotools.filter.text.commons
Class TokenAdapter
- Object
-
- TokenAdapter
-
- All Implemented Interfaces:
IToken
public class TokenAdapter extends Object implements IToken
Adapts Token toIToken
.Token class is generated by javacc, this adapter allows reuse this class in different context (Parser, Compiler and FilterBuilder)
The token class, used by the specific parser, requires to be adapted to implementing the interface
IToken
which is used by theCQLFilterBuilder
andECQL
}.Warning: This component is not published. It is part of module implementation. Client module should not use this feature.
- Since:
- 2.5
- Author:
- Mauricio Pazos (Axios Engineering)
- See Also:
IToken
,CQLFilterBuilder
,CQLCompiler
,CQLParser
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
beginColumn()
int
endColumn()
Token
getAdapted()
boolean
hasNext()
static IToken
newAdapterFor(Token token)
IToken
next()
String
toString()
-
-
-
Method Detail
-
toString
public String toString()
-
beginColumn
public int beginColumn()
- Specified by:
beginColumn
in interfaceIToken
-
getAdapted
public Token getAdapted()
- Specified by:
getAdapted
in interfaceIToken
-
-