Enum AppClientElement
- java.lang.Object
-
- java.lang.Enum<AppClientElement>
-
- org.jboss.metadata.appclient.parser.spec.AppClientElement
-
- All Implemented Interfaces:
Serializable,Comparable<AppClientElement>
public enum AppClientElement extends Enum<AppClientElement>
Enumeration of all XML elements that are allowed in a application-client.xml file- Author:
- Stuart Douglas
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLBACK_HANDLERMESSAGE_DESTINATIONMODULE_NAMEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppClientElementforName(String elementName)Returns theAppClientElementcorresponding to the passedelementNameStringgetLocalName()Get the local name of this element.static AppClientElementvalueOf(String name)Returns the enum constant of this type with the specified name.static AppClientElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AppClientElement UNKNOWN
-
CALLBACK_HANDLER
public static final AppClientElement CALLBACK_HANDLER
-
MODULE_NAME
public static final AppClientElement MODULE_NAME
-
MESSAGE_DESTINATION
public static final AppClientElement MESSAGE_DESTINATION
-
-
Method Detail
-
values
public static AppClientElement[] 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 (AppClientElement c : AppClientElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppClientElement 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
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
forName
public static AppClientElement forName(String elementName)
Returns theAppClientElementcorresponding to the passedelementNameIf no such element exists thenUNKNOWNis returned.- Parameters:
elementName-- Returns:
-
-