Enum XML.OutboundResourceAdapterTag
- java.lang.Object
-
- java.lang.Enum<XML.OutboundResourceAdapterTag>
-
- org.jboss.jca.common.metadata.spec.XML.OutboundResourceAdapterTag
-
- All Implemented Interfaces:
Serializable,Comparable<XML.OutboundResourceAdapterTag>
- Enclosing interface:
- XML
public static enum XML.OutboundResourceAdapterTag extends Enum<XML.OutboundResourceAdapterTag>
A OutboundResourceAdapterTag.- Author:
- Stefano Maestri
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_MECHANISMauthentication-mechanism TAGCONNECTION_DEFINITIONconnection-definition TAGREAUTHENTICATION_SUPPORTreauthentication-support TAGTRANSACTION_SUPPORTtransaction-support TAGUNKNOWNalways first
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XML.OutboundResourceAdapterTagforName(String localName)Static method to get enum instance given localName stringStringgetLocalName()Get the local name of this element.StringtoString()static XML.OutboundResourceAdapterTagvalueOf(String name)Returns the enum constant of this type with the specified name.static XML.OutboundResourceAdapterTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final XML.OutboundResourceAdapterTag UNKNOWN
always first
-
CONNECTION_DEFINITION
public static final XML.OutboundResourceAdapterTag CONNECTION_DEFINITION
connection-definition TAG
-
TRANSACTION_SUPPORT
public static final XML.OutboundResourceAdapterTag TRANSACTION_SUPPORT
transaction-support TAG
-
AUTHENTICATION_MECHANISM
public static final XML.OutboundResourceAdapterTag AUTHENTICATION_MECHANISM
authentication-mechanism TAG
-
REAUTHENTICATION_SUPPORT
public static final XML.OutboundResourceAdapterTag REAUTHENTICATION_SUPPORT
reauthentication-support TAG
-
-
Method Detail
-
values
public static XML.OutboundResourceAdapterTag[] 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 (XML.OutboundResourceAdapterTag c : XML.OutboundResourceAdapterTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XML.OutboundResourceAdapterTag 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<XML.OutboundResourceAdapterTag>
-
forName
public static XML.OutboundResourceAdapterTag 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
-
-