abstract class AbstractWktTokenizer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentPos |
protected WktVariant |
variant |
protected java.lang.CharSequence |
wkt |
| Constructor and Description |
|---|
AbstractWktTokenizer(java.lang.CharSequence wkt,
WktVariant variant) |
| Modifier and Type | Method and Description |
|---|---|
private WktToken |
inner() |
protected boolean |
isWordChar(char c) |
protected WktToken |
matchKeyword(int currentPos,
int endPos)
Matches the specifed subsequence of the WKT to a
WktToken. |
(package private) boolean |
moreTokens() |
(package private) WktToken |
nextToken() |
(package private) abstract WktToken |
numericToken() |
int |
position() |
private char |
readDigits(java.lang.StringBuilder stb,
char c) |
protected double |
readNumber() |
protected WktToken |
readNumberToken() |
protected WktToken |
readText() |
protected WktToken |
readToken() |
protected void |
skipWhitespace() |
protected final java.lang.CharSequence wkt
protected final WktVariant variant
protected int currentPos
AbstractWktTokenizer(java.lang.CharSequence wkt,
WktVariant variant)
boolean moreTokens()
WktToken nextToken()
private WktToken inner()
abstract WktToken numericToken()
protected double readNumber()
private char readDigits(java.lang.StringBuilder stb,
char c)
protected WktToken readNumberToken()
protected WktToken readText()
protected void skipWhitespace()
protected WktToken readToken()
protected boolean isWordChar(char c)
protected WktToken matchKeyword(int currentPos, int endPos)
WktToken.
currentPos - the start of the subsequence to matchendPos - the end of the subsequence to matchWktDecodeException - if the specified subsequence does not match a token.public int position()