com.partnersoft.formats.google
Enum GoogleMapLib.CreationOptions

java.lang.Object
  extended by java.lang.Enum<GoogleMapLib.CreationOptions>
      extended by com.partnersoft.formats.google.GoogleMapLib.CreationOptions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GoogleMapLib.CreationOptions>
Enclosing class:
GoogleMapLib

public static enum GoogleMapLib.CreationOptions
extends java.lang.Enum<GoogleMapLib.CreationOptions>

Enumeration of options for Creating various file types using the GoogleMapBuilder.


Enum Constant Summary
COMPLETE_HTML
          Generate a complete Html file.
INCOMPLETE_HTML
          Generates an incomplete Html file.
JAVASCRIPT_ONLY
          Generate only Javascript.
 
Method Summary
static GoogleMapLib.CreationOptions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GoogleMapLib.CreationOptions[] 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

JAVASCRIPT_ONLY

public static final GoogleMapLib.CreationOptions JAVASCRIPT_ONLY
Generate only Javascript. No html tags are generated.


COMPLETE_HTML

public static final GoogleMapLib.CreationOptions COMPLETE_HTML
Generate a complete Html file. This includes html tags, javascript tags, and adds a map object to the html.


INCOMPLETE_HTML

public static final GoogleMapLib.CreationOptions INCOMPLETE_HTML
Generates an incomplete Html file. Creates inital html tags, javascript tags, but leaves the html and body tag open.

Method Detail

values

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

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

valueOf

public static GoogleMapLib.CreationOptions valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null