Enum AdminObjectInstance.Tag
- java.lang.Object
-
- java.lang.Enum<AdminObjectInstance.Tag>
-
- org.jboss.jca.as.converters.wls.api.metadata.AdminObjectInstance.Tag
-
- All Implemented Interfaces:
Serializable,Comparable<AdminObjectInstance.Tag>
- Enclosing interface:
- AdminObjectInstance
public static enum AdminObjectInstance.Tag extends Enum<AdminObjectInstance.Tag>
A Tag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JNDI_NAMEjndi-name tagPROPERTIESproperties tagUNKNOWNalways first
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminObjectInstance.TagforName(String localName)Static method to get enum instance given localName stringStringgetLocalName()Get the local name of this element.StringtoString()static AdminObjectInstance.TagvalueOf(String name)Returns the enum constant of this type with the specified name.static AdminObjectInstance.Tag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AdminObjectInstance.Tag UNKNOWN
always first
-
JNDI_NAME
public static final AdminObjectInstance.Tag JNDI_NAME
jndi-name tag
-
PROPERTIES
public static final AdminObjectInstance.Tag PROPERTIES
properties tag
-
-
Method Detail
-
values
public static AdminObjectInstance.Tag[] 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 (AdminObjectInstance.Tag c : AdminObjectInstance.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminObjectInstance.Tag 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<AdminObjectInstance.Tag>
-
forName
public static AdminObjectInstance.Tag forName(String localName)
Static method to get enum instance given localName string- Parameters:
localName- a string used as localname (typically tag name as defined in xsd)- Returns:
- the enum instance
-
-