org.graffiti.plugins.ios.gml.gmlReader.gml
Class GmlValue

java.lang.Object
  extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
      extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlValue
Direct Known Subclasses:
GmlInt, GmlList, GmlReal, GmlString

public abstract class GmlValue
extends GmlParsableItem

Class GmlValue is the superclass of all values in the GML format.

Author:
ruediger

Constructor Summary
GmlValue(int line)
          Constructs a new GmlValue.
 
Method Summary
abstract  Object getValue()
          Returns the value.
 boolean isInt()
          Returns true if the value is an integer.
 boolean isReal()
          Returns true if the value is a real.
 boolean isString()
          Returns true if the value is a string.
 
Methods inherited from class org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
getLine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GmlValue

public GmlValue(int line)
Constructs a new GmlValue.

Parameters:
line - the line the value was declared at.
Method Detail

getValue

public abstract Object getValue()
Returns the value.

Returns:
the value.

isInt

public boolean isInt()
Returns true if the value is an integer.

Returns:
true if the value is an integer.

isReal

public boolean isReal()
Returns true if the value is a real.

Returns:
true if the value is a real.

isString

public boolean isString()
Returns true if the value is a string.

Returns:
true if the value is a string.


Generated at 2012-05-30 11:01:25 PM CEST