Enum ResourceType
- All Implemented Interfaces:
Serializable
,Comparable<ResourceType>
,java.lang.constant.Constable
Indicates the type of resource.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn attachment.The main HTML or XML document.A font.An ICC profile.An iframe.An image.The license key.A merge document.An embedded object.A running document.A script.A style sheet.An unknown resource type.An XMLHttpRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceType
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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNKNOWN
An unknown resource type.
-
STYLESHEET
A style sheet.
-
SCRIPT
A script.
-
IMAGE
An image.
-
FONT
A font.
-
OBJECT
An embedded object.
-
IFRAME
An iframe.
-
RUNNING_DOCUMENT
A running document.
-
ICC_PROFILE
An ICC profile.
-
MERGE_DOCUMENT
A merge document.
-
ATTACHMENT
An attachment.
-
DOCUMENT
The main HTML or XML document. -
XHR
An XMLHttpRequest. -
LICENSEKEY
The license key.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-