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

Since:
1.0

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.
 SpatialReference getSpatialReference()
           
 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
clone, finalize, 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.
Since:
1.0

getWidth

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

Returns:
the width
Since:
1.0

getHeight

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

Returns:
the height
Since:
1.0

getExtent

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

Returns:
the extent
Since:
1.0

getSpatialReference

public SpatialReference getSpatialReference()
Returns:
Since:
1.0

getScale

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

Returns:
the scale
Since:
1.0

setHref

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

Parameters:
href - the href to set
Since:
1.0

setWidth

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

Parameters:
width - the width to set.
Since:
1.0

setHeight

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

Parameters:
height - the height to set
Since:
1.0

setExtent

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

Parameters:
extent - the extent to set
Since:
1.0

setScale

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

Parameters:
scale - the scale to set
Since:
1.0

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
Since:
1.0

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
Since:
1.0

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Since:
1.0

equals

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


Copyright © 2012. All Rights Reserved.