public enum BodyContentType extends Enum<BodyContentType>
body-contentType
xsd typeEnum Constant and Description |
---|
_EMPTY |
_JSP |
_SCRIPTLESS |
_TAGDEPENDENT |
Modifier and Type | Method and Description |
---|---|
static BodyContentType |
getFromStringValue(String value) |
String |
toString() |
static BodyContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BodyContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BodyContentType _TAGDEPENDENT
public static final BodyContentType _JSP
public static final BodyContentType _EMPTY
public static final BodyContentType _SCRIPTLESS
public static BodyContentType[] values()
for (BodyContentType c : BodyContentType.values()) System.out.println(c);
public static BodyContentType 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 toString()
toString
in class Enum<BodyContentType>
public static BodyContentType getFromStringValue(String value)
Copyright © 2024 JBoss by Red Hat. All rights reserved.