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

java.lang.Object
  extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
      extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlValue
          extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlReal

public class GmlReal
extends GmlValue

Class GmlReal represents a real value occuring in a GML declaration.

Author:
ruediger

Constructor Summary
GmlReal(int line, Double value)
          Constructs a new GmlReal.
 
Method Summary
 Object getValue()
          Returns the value.
 boolean isReal()
          Returns true if the object represents a GML real value.
 
Methods inherited from class org.graffiti.plugins.ios.gml.gmlReader.gml.GmlValue
isInt, isString
 
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

GmlReal

public GmlReal(int line,
               Double value)
Constructs a new GmlReal.

Parameters:
line - the line in which the real occured.
value - the real's value.
Method Detail

isReal

public boolean isReal()
Returns true if the object represents a GML real value.

Overrides:
isReal in class GmlValue
Returns:
true if the object represents a GML real value.

getValue

public Object getValue()
Returns the value.

Specified by:
getValue in class GmlValue
Returns:
the value.


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