Enum GetCapabilitiesParseHelper.TransferMode
- java.lang.Object
-
- java.lang.Enum<GetCapabilitiesParseHelper.TransferMode>
-
- org.openstreetmap.josm.data.imagery.GetCapabilitiesParseHelper.TransferMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GetCapabilitiesParseHelper.TransferMode>
- Enclosing class:
- GetCapabilitiesParseHelper
static enum GetCapabilitiesParseHelper.TransferMode extends java.lang.Enum<GetCapabilitiesParseHelper.TransferMode>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
typeString
-
Constructor Summary
Constructors Modifier Constructor Description private
TransferMode(java.lang.String urlString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static GetCapabilitiesParseHelper.TransferMode
fromString(java.lang.String s)
private java.lang.String
getTypeString()
static GetCapabilitiesParseHelper.TransferMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GetCapabilitiesParseHelper.TransferMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KVP
public static final GetCapabilitiesParseHelper.TransferMode KVP
-
REST
public static final GetCapabilitiesParseHelper.TransferMode REST
-
-
Field Detail
-
typeString
private final java.lang.String typeString
-
-
Constructor Detail
-
TransferMode
private TransferMode(java.lang.String urlString)
-
-
Method Detail
-
values
public static GetCapabilitiesParseHelper.TransferMode[] 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 (GetCapabilitiesParseHelper.TransferMode c : GetCapabilitiesParseHelper.TransferMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetCapabilitiesParseHelper.TransferMode 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 namejava.lang.NullPointerException
- if the argument is null
-
getTypeString
private java.lang.String getTypeString()
-
fromString
static GetCapabilitiesParseHelper.TransferMode fromString(java.lang.String s)
-
-