Package org.xmlet.htmlapifaster
Enum EnumTypeContentType
- java.lang.Object
-
- java.lang.Enum<EnumTypeContentType>
-
- org.xmlet.htmlapifaster.EnumTypeContentType
-
- All Implemented Interfaces:
Serializable,Comparable<EnumTypeContentType>,org.xmlet.xsdasmfaster.classes.infrastructure.EnumInterface<String>
public enum EnumTypeContentType extends Enum<EnumTypeContentType> implements org.xmlet.xsdasmfaster.classes.infrastructure.EnumInterface<String>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TEXT_ASATEXT_ASPTEXT_CSSTEXT_HTMLTEXT_JAVASCRIPTTEXT_PLAINTEXT_SCRIPTLETTEXT_X_COMPONENTTEXT_X_HTML_INSERTIONTEXT_XML
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static EnumTypeContentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EnumTypeContentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT_ASP
public static final EnumTypeContentType TEXT_ASP
-
TEXT_ASA
public static final EnumTypeContentType TEXT_ASA
-
TEXT_CSS
public static final EnumTypeContentType TEXT_CSS
-
TEXT_HTML
public static final EnumTypeContentType TEXT_HTML
-
TEXT_JAVASCRIPT
public static final EnumTypeContentType TEXT_JAVASCRIPT
-
TEXT_PLAIN
public static final EnumTypeContentType TEXT_PLAIN
-
TEXT_SCRIPTLET
public static final EnumTypeContentType TEXT_SCRIPTLET
-
TEXT_X_COMPONENT
public static final EnumTypeContentType TEXT_X_COMPONENT
-
TEXT_X_HTML_INSERTION
public static final EnumTypeContentType TEXT_X_HTML_INSERTION
-
TEXT_XML
public static final EnumTypeContentType TEXT_XML
-
-
Method Detail
-
values
public static EnumTypeContentType[] 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 (EnumTypeContentType c : EnumTypeContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumTypeContentType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-