public enum ResourceType extends Enum<ResourceType>
Clase Java para ResourceType.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="ResourceType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OBJ"/>
<length value="3"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
OBJ |
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
fromValue(String v) |
String |
value() |
static ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType OBJ
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ResourceType fromValue(String v)
Copyright © 2014. All Rights Reserved.