com.esri.core.tasks.ags.geoprocessing
Class GPMapImage

java.lang.Object
  extended by com.esri.core.tasks.ags.geoprocessing.GPMapImage

public class GPMapImage
extends Object

Container class representing a map image object shared by GPRasterDataLayer and GPFeatureRecordSetLayer


Constructor Summary
GPMapImage()
           
 
Method Summary
 boolean equals(Object obj)
           
 void fromJson(org.codehaus.jackson.JsonNode node)
          This method populates a map image instance with the information contained in the Feature Json node passed as parameter.
 void fromJson(org.codehaus.jackson.JsonParser parser)
          This method populates a map image instance with the information contained in the object representation the Json Parser is pointing to.
 Envelope getExtent()
           
 int getHeight()
           
 URL getHref()
           
 double getScale()
           
 int getWidth()
           
 int hashCode()
           
 void setExtent(Envelope extent)
           
 void setHeight(int height)
           
 void setHref(URL href)
           
 void setScale(double scale)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPMapImage

public GPMapImage()
Method Detail

getHref

public URL getHref()
Returns:
the href

getWidth

public int getWidth()
Returns:
the width

getHeight

public int getHeight()
Returns:
the height

getExtent

public Envelope getExtent()
Returns:
the extent

getScale

public double getScale()
Returns:
the scale

setHref

public void setHref(URL href)
Parameters:
href - the href to set

setWidth

public void setWidth(int width)
Parameters:
width - the width to set

setHeight

public void setHeight(int height)
Parameters:
height - the height to set

setExtent

public void setExtent(Envelope extent)
Parameters:
extent - the extent to set

setScale

public void setScale(double scale)
Parameters:
scale - the scale to set

fromJson

public void fromJson(org.codehaus.jackson.JsonParser parser)
              throws Exception
This method populates a map image instance with the information contained in the object representation the Json Parser is pointing to.

Parameters:
parser - the Json parser pointing to the map image information.
Throws:
Exception

fromJson

public void fromJson(org.codehaus.jackson.JsonNode node)
              throws Exception
This method populates a map image instance with the information contained in the Feature Json node passed as parameter.

Parameters:
node - the Json node containing the map image information.
Throws:
Exception

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010. All Rights Reserved.