public enum ContentsDataType extends Enum<ContentsDataType>
| Enum Constant and Description |
|---|
ATTRIBUTES
Attributes
|
FEATURES
Features
|
TILES
Tiles
|
| Modifier and Type | Method and Description |
|---|---|
static ContentsDataType |
fromCoreName(String name)
Get the contents data type from a core type name
|
static ContentsDataType |
fromName(String name)
Get the Data Type from the name
|
String |
getName()
Get the name
|
static boolean |
isAttributesType(String name)
Determine if the contents data type name is an attributes type
|
static boolean |
isAttributesType(String name,
boolean matchUnknown)
Determine if the contents data type name is an attributes type
|
static boolean |
isCoreType(String name)
Determine if the type name is a core contents data type
|
static boolean |
isFeaturesType(String name)
Determine if the contents data type name is a features type
|
static boolean |
isFeaturesType(String name,
boolean matchUnknown)
Determine if the contents data type name is a features type
|
static boolean |
isTilesType(String name)
Determine if the contents data type name is a tiles type
|
static boolean |
isTilesType(String name,
boolean matchUnknown)
Determine if the contents data type name is a tiles type
|
static boolean |
isType(String name)
Determine if the type name is a registered data type
|
static boolean |
isType(String name,
ContentsDataType type)
Determine if the contents data type name is the type
|
static boolean |
isType(String name,
ContentsDataType type,
boolean matchUnknown)
Determine if the contents data type name is the type
|
static void |
setType(String name,
ContentsDataType type)
Set the type for the contents data type name
|
String |
toString() |
static ContentsDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentsDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentsDataType FEATURES
public static final ContentsDataType TILES
public static final ContentsDataType ATTRIBUTES
public static ContentsDataType[] values()
for (ContentsDataType c : ContentsDataType.values()) System.out.println(c);
public static ContentsDataType 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 getName()
public String toString()
toString in class Enum<ContentsDataType>public static ContentsDataType fromName(String name)
name - contents data type namepublic static boolean isType(String name)
name - type namepublic static ContentsDataType fromCoreName(String name)
name - type namepublic static boolean isCoreType(String name)
name - type namepublic static void setType(String name, ContentsDataType type)
name - contents data type nametype - contents data typepublic static boolean isType(String name, ContentsDataType type)
name - contents data type nametype - comparison contents data typepublic static boolean isType(String name, ContentsDataType type, boolean matchUnknown)
name - contents data type nametype - comparison contents data typematchUnknown - true to match unknown data typespublic static boolean isFeaturesType(String name)
name - contents data type namepublic static boolean isFeaturesType(String name, boolean matchUnknown)
name - contents data type namematchUnknown - true to match unknown data typespublic static boolean isTilesType(String name)
name - contents data type namepublic static boolean isTilesType(String name, boolean matchUnknown)
name - contents data type namematchUnknown - true to match unknown data typespublic static boolean isAttributesType(String name)
name - contents data type namepublic static boolean isAttributesType(String name, boolean matchUnknown)
name - contents data type namematchUnknown - true to match unknown data typesCopyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.