com.esri.core.map
Enum ImageServiceParameters.IMAGE_FORMAT

java.lang.Object
  extended by java.lang.Enum<ImageServiceParameters.IMAGE_FORMAT>
      extended by com.esri.core.map.ImageServiceParameters.IMAGE_FORMAT
All Implemented Interfaces:
Serializable, Comparable<ImageServiceParameters.IMAGE_FORMAT>
Enclosing class:
ImageServiceParameters

public static enum ImageServiceParameters.IMAGE_FORMAT
extends Enum<ImageServiceParameters.IMAGE_FORMAT>

The format of the exported image. The default format is jpgpng.

Values: jpgpng | png | png8 | png24 | jpg | bmp | gif | tiff


Enum Constant Summary
bmp
          Image format: bmp
gif
          Image format: gif
jpg
          Image format: jpg
jpgpng
          Image format: jpgpng
png
          Image format: png
png24
          Image format: png24
png8
          Image format: png8
tiff
          Image format: tiff
 
Method Summary
static ImageServiceParameters.IMAGE_FORMAT valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageServiceParameters.IMAGE_FORMAT[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

jpgpng

public static final ImageServiceParameters.IMAGE_FORMAT jpgpng
Image format: jpgpng


png

public static final ImageServiceParameters.IMAGE_FORMAT png
Image format: png


png8

public static final ImageServiceParameters.IMAGE_FORMAT png8
Image format: png8


png24

public static final ImageServiceParameters.IMAGE_FORMAT png24
Image format: png24


jpg

public static final ImageServiceParameters.IMAGE_FORMAT jpg
Image format: jpg


bmp

public static final ImageServiceParameters.IMAGE_FORMAT bmp
Image format: bmp


gif

public static final ImageServiceParameters.IMAGE_FORMAT gif
Image format: gif


tiff

public static final ImageServiceParameters.IMAGE_FORMAT tiff
Image format: tiff

Method Detail

values

public static ImageServiceParameters.IMAGE_FORMAT[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ImageServiceParameters.IMAGE_FORMAT c : ImageServiceParameters.IMAGE_FORMAT.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImageServiceParameters.IMAGE_FORMAT valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.