com.esri.core.internal.catalog
Enum Item.ItemType

java.lang.Object
  extended by java.lang.Enum<Item.ItemType>
      extended by com.esri.core.internal.catalog.Item.ItemType
All Implemented Interfaces:
Serializable, Comparable<Item.ItemType>
Enclosing class:
Item

public static enum Item.ItemType
extends Enum<Item.ItemType>

Represents the type of an Item stored in arcgis.com. arcgis.com allows users to store a myriad of Items types classified by the medium in which the Items are stored on the server (File, Text or URL) and the ArcGIS applications that an Item type is applicable for. Currently this API only supports WebMap and FeatureCollection (both stored as Text) to support Android and Java SE applications.


Enum Constant Summary
FEATURE_COLLECTION
          A Feature collections stored and retrieved as JSON text or zip file
WEB_MAP
          A WebMap stored and retrieved as JSON text
 
Method Summary
static Item.ItemType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Item.ItemType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WEB_MAP

public static final Item.ItemType WEB_MAP
A WebMap stored and retrieved as JSON text


FEATURE_COLLECTION

public static final Item.ItemType FEATURE_COLLECTION
A Feature collections stored and retrieved as JSON text or zip file

Method Detail

values

public static Item.ItemType[] 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 (Item.ItemType c : Item.ItemType.values())
    System.out.println(c);

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

valueOf

public static Item.ItemType 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.