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

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.GmlInt

public class GmlInt
extends GmlValue

Class GmlInt represents an integer value occuring in a GML declaration. It might as well represent a boolean value if its value is 0 or 1.

Author:
ruediger

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

GmlInt

public GmlInt(int line,
              Integer value)
Constructs a new GmlInt.

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

isInt

public boolean isInt()
Returns true if the object represents a GML integer value.

Overrides:
isInt in class GmlValue
Returns:
true if the object represents a GML integer 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