org.geotools.filter.text.commons
Class TokenAdapter
java.lang.Object
org.geotools.filter.text.commons.TokenAdapter
- All Implemented Interfaces:
- IToken
public class TokenAdapter
- extends java.lang.Object
- implements IToken
Adapts Token to IToken
.
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 the
CQLFilterBuilder
and ECQL
}.
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
newAdapterFor
public static IToken newAdapterFor(org.geotools.filter.text.generated.parsers.Token token)
toString
public java.lang.String toString()
- Specified by:
toString
in interface IToken
- Overrides:
toString
in class java.lang.Object
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface IToken
next
public IToken next()
- Specified by:
next
in interface IToken
beginColumn
public int beginColumn()
- Specified by:
beginColumn
in interface IToken
endColumn
public int endColumn()
- Specified by:
endColumn
in interface IToken
getAdapted
public org.geotools.filter.text.generated.parsers.Token getAdapted()
- Specified by:
getAdapted
in interface IToken
Copyright © 1996-2010 Geotools. All Rights Reserved.