com.esri.adf.web.data.export
Class ExportImage

java.lang.Object
  extended by com.esri.adf.web.data.export.ExportImage
All Implemented Interfaces:
Serializable

public class ExportImage
extends Object
implements Serializable

This class contains the map image either as raw MIME data or as a URI to the image on a web server.

See Also:
Serialized Form

Constructor Summary
ExportImage()
          Constructs a new ExportImage object.
ExportImage(ExportImage copy)
          Constructs a ExportImage that is a copy of a given ExportImage.
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getData()
          Returns the raw MIME Data image.
 URL getURL()
          Returns the URL of the map image.
 int hashCode()
           
 void setData(byte[] data)
          Sets the raw MIME Data image.
 void setURL(URL url)
          Sets the URL of the map image.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExportImage

public ExportImage()
Constructs a new ExportImage object.


ExportImage

public ExportImage(ExportImage copy)
Constructs a ExportImage that is a copy of a given ExportImage.

Parameters:
copy - a ExportImage to be cloned
Method Detail

getData

public byte[] getData()
Returns the raw MIME Data image.

Returns:
the raw MIME Data image

setData

public void setData(byte[] data)
Sets the raw MIME Data image.

Parameters:
data - the raw MIME Data image

getURL

public URL getURL()
Returns the URL of the map image.

Returns:
the URL of the map image

setURL

public void setURL(URL url)
Sets the URL of the map image.

Parameters:
url - the URL of the map image

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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