|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.charts.ValueFormatsParser
class ValueFormatsParser
A Parser and tokenizer for the three defined formats.
Field Summary | |
---|---|
static int |
VALUE_FORMAT_SERIES
&CDU=23,25,21,26&SPD=42 23 33 36 |
static int |
VALUE_FORMAT_SIMPLE
&CDU=34&SPD=36&Gruene=11 |
static int |
VALUE_FORMAT_UNKNOWN
Unknown format |
static int |
VALUE_FORMAT_XYSERIES
&CDU=1970 23;1974,44;1978,43&SPD=1970,23;1974,44;1978,43 |
Constructor Summary | |
---|---|
ValueFormatsParser(java.lang.String value)
|
Method Summary | |
---|---|
int |
getFormatType()
|
java.lang.String |
getNext()
|
java.lang.String |
getSeparator()
|
int |
getTupelsCount()
|
java.lang.String |
getValue()
|
boolean |
hasNext()
|
boolean |
isFormatSeries()
|
boolean |
isFormatSeriesXY()
|
boolean |
isFormatSimple()
|
boolean |
isFormatUnknown()
|
protected boolean |
matchPattern(java.lang.String pattern)
|
java.lang.String |
nextTupel()
|
void |
start()
Resets the market to the start of the string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int VALUE_FORMAT_SIMPLE
public static final int VALUE_FORMAT_SERIES
public static final int VALUE_FORMAT_XYSERIES
public static final int VALUE_FORMAT_UNKNOWN
Constructor Detail |
---|
public ValueFormatsParser(java.lang.String value) throws IncorrectFormatException
value
-
IncorrectFormatException
Method Detail |
---|
public java.lang.String getValue()
public boolean isFormatSimple()
public boolean isFormatSeries()
public boolean isFormatSeriesXY()
public boolean isFormatUnknown()
protected boolean matchPattern(java.lang.String pattern)
pattern
- a regex to match
public int getFormatType()
public java.lang.String getSeparator()
public int getTupelsCount()
public void start()
public boolean hasNext()
public java.lang.String getNext()
public java.lang.String nextTupel()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org