com.google.gwt.maps.client.layers
Enum KmlLayerStatus

java.lang.Object
  extended by java.lang.Enum<KmlLayerStatus>
      extended by com.google.gwt.maps.client.layers.KmlLayerStatus
All Implemented Interfaces:
Serializable, Comparable<KmlLayerStatus>

public enum KmlLayerStatus
extends Enum<KmlLayerStatus>

The status returned by KmlLayer on the completion of loading a document.

See KmlLayerStatus API Doc


Enum Constant Summary
DOCUMENT_NOT_FOUND
          The document could not be found.
DOCUMENT_TOO_LARGE
          The document exceeds the file size limits of KmlLayer.
FETCH_ERROR
          The document could not be fetched.
INVALID_DOCUMENT
          The document is not a valid KML, KMZ or GeoRSS document.
INVALID_REQUEST
          The KmlLayer is invalid.
LIMITS_EXCEEDED
          The document exceeds the feature limits of KmlLayer.
OK
          The layer loaded successfully.
TIMED_OUT
          The document could not be loaded within a reasonable amount of time.
UNKNOWN
          The document failed to load for an unknown reason.
 
Method Summary
static KmlLayerStatus fromValue(String type)
           
 String toString()
           
 String value()
           
static KmlLayerStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KmlLayerStatus[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOCUMENT_NOT_FOUND

public static final KmlLayerStatus DOCUMENT_NOT_FOUND
The document could not be found. Most likely it is an invalid URL, or the document is not publicly available.


DOCUMENT_TOO_LARGE

public static final KmlLayerStatus DOCUMENT_TOO_LARGE
The document exceeds the file size limits of KmlLayer.


FETCH_ERROR

public static final KmlLayerStatus FETCH_ERROR
The document could not be fetched.


INVALID_DOCUMENT

public static final KmlLayerStatus INVALID_DOCUMENT
The document is not a valid KML, KMZ or GeoRSS document.


INVALID_REQUEST

public static final KmlLayerStatus INVALID_REQUEST
The KmlLayer is invalid.


LIMITS_EXCEEDED

public static final KmlLayerStatus LIMITS_EXCEEDED
The document exceeds the feature limits of KmlLayer.


OK

public static final KmlLayerStatus OK
The layer loaded successfully.


TIMED_OUT

public static final KmlLayerStatus TIMED_OUT
The document could not be loaded within a reasonable amount of time.


UNKNOWN

public static final KmlLayerStatus UNKNOWN
The document failed to load for an unknown reason.

Method Detail

values

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

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

valueOf

public static KmlLayerStatus 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

value

public String value()

fromValue

public static KmlLayerStatus fromValue(String type)

toString

public String toString()
Overrides:
toString in class Enum<KmlLayerStatus>


Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.