org.openstreetmap.josm.data.imagery
Enum ImageryInfo.ImageryType

java.lang.Object
  extended by java.lang.Enum<ImageryInfo.ImageryType>
      extended by org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageryInfo.ImageryType>
Enclosing class:
ImageryInfo

public static enum ImageryInfo.ImageryType
extends java.lang.Enum<ImageryInfo.ImageryType>


Enum Constant Summary
BING
           
HTML
           
SCANEX
           
TMS
           
WMS
           
 
Field Summary
private  java.lang.String urlString
           
 
Method Summary
static ImageryInfo.ImageryType fromUrlString(java.lang.String s)
           
 java.lang.String getUrlString()
           
static ImageryInfo.ImageryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageryInfo.ImageryType[] 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

WMS

public static final ImageryInfo.ImageryType WMS

TMS

public static final ImageryInfo.ImageryType TMS

HTML

public static final ImageryInfo.ImageryType HTML

BING

public static final ImageryInfo.ImageryType BING

SCANEX

public static final ImageryInfo.ImageryType SCANEX
Field Detail

urlString

private java.lang.String urlString
Method Detail

values

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

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

valueOf

public static ImageryInfo.ImageryType 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

getUrlString

public java.lang.String getUrlString()

fromUrlString

public static ImageryInfo.ImageryType fromUrlString(java.lang.String s)


JOSM