Package org.jboss.as.naming.subsystem
Enum NamingSubsystemXMLAttribute
- java.lang.Object
-
- java.lang.Enum<NamingSubsystemXMLAttribute>
-
- org.jboss.as.naming.subsystem.NamingSubsystemXMLAttribute
-
- All Implemented Interfaces:
Serializable,Comparable<NamingSubsystemXMLAttribute>
public enum NamingSubsystemXMLAttribute extends Enum<NamingSubsystemXMLAttribute>
- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamingSubsystemXMLAttributeforName(String localName)StringgetLocalName()Get the local name of this attribute.StringtoString()static NamingSubsystemXMLAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static NamingSubsystemXMLAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final NamingSubsystemXMLAttribute UNKNOWN
-
CACHE
public static final NamingSubsystemXMLAttribute CACHE
-
CLASS
public static final NamingSubsystemXMLAttribute CLASS
-
LOOKUP
public static final NamingSubsystemXMLAttribute LOOKUP
-
MODULE
public static final NamingSubsystemXMLAttribute MODULE
-
NAME
public static final NamingSubsystemXMLAttribute NAME
-
TYPE
public static final NamingSubsystemXMLAttribute TYPE
-
VALUE
public static final NamingSubsystemXMLAttribute VALUE
-
-
Method Detail
-
values
public static NamingSubsystemXMLAttribute[] 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 (NamingSubsystemXMLAttribute c : NamingSubsystemXMLAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamingSubsystemXMLAttribute 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 attribute.- Returns:
- the local name
-
forName
public static NamingSubsystemXMLAttribute forName(String localName)
-
toString
public String toString()
- Overrides:
toStringin classEnum<NamingSubsystemXMLAttribute>
-
-