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()
          Gets the extent that the image represents.
 int getHeight()
          Gets the height of the image.
 URL getHref()
          Gets the URL to the image.
 double getScale()
          Gets the scale of the image.
 int getWidth()
          Gets the width of the image.
 int hashCode()
           
 void setExtent(Envelope extent)
          Sets the extent that the image represents.
 void setHeight(int height)
          Sets the height of the image.
 void setHref(URL href)
          Sets the URL of the image.
 void setScale(double scale)
          Sets the scale of the image
 void setWidth(int width)
          Sets the width of the image.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPMapImage

public GPMapImage()
Method Detail

getHref

public URL getHref()
Gets the URL to the image.

Returns:
the URL.

getWidth

public int getWidth()
Gets the width of the image.

Returns:
the width

getHeight

public int getHeight()
Gets the height of the image.

Returns:
the height

getExtent

public Envelope getExtent()
Gets the extent that the image represents.

Returns:
the extent

getScale

public double getScale()
Gets the scale of the image.

Returns:
the scale

setHref

public void setHref(URL href)
Sets the URL of the image.

Parameters:
href - the href to set

setWidth

public void setWidth(int width)
Sets the width of the image.

Parameters:
width - the width to set.

setHeight

public void setHeight(int height)
Sets the height of the image.

Parameters:
height - the height to set

setExtent

public void setExtent(Envelope extent)
Sets the extent that the image represents.

Parameters:
extent - the extent to set

setScale

public void setScale(double scale)
Sets the scale of the image

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 © 2012. All Rights Reserved.