org.jboss.jca.common.api.metadata.ironjacamar
Enum IronJacamar.Tag

java.lang.Object
  extended by java.lang.Enum<IronJacamar.Tag>
      extended by org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar.Tag
All Implemented Interfaces:
Serializable, Comparable<IronJacamar.Tag>
Enclosing interface:
IronJacamar

public static enum IronJacamar.Tag
extends Enum<IronJacamar.Tag>

A Tag.

Author:
Stefano Maestri

Enum Constant Summary
ADMIN_OBJECT
          admin-objects tag
ADMIN_OBJECTS
          admin-objects tag
BEAN_VALIDATION_GROUP
          bean-validation-group tag
BEAN_VALIDATION_GROUPS
          bean-validation-groups tag
BOOTSTRAP_CONTEXT
          bootstrap-context tag
CONFIG_PROPERTY
          config-property tag
CONNECTION_DEFINITION
          connection-definition tag
CONNECTION_DEFINITIONS
          connection-definitions tag
TRANSACTION_SUPPORT
          transaction-support tag
UNKNOWN
          always first
 
Method Summary
static IronJacamar.Tag forName(String localName)
          Static method to get enum instance given localName string
 String getLocalName()
          Get the local name of this element.
 String toString()
          
static IronJacamar.Tag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IronJacamar.Tag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final IronJacamar.Tag UNKNOWN
always first


CONFIG_PROPERTY

public static final IronJacamar.Tag CONFIG_PROPERTY
config-property tag


BEAN_VALIDATION_GROUPS

public static final IronJacamar.Tag BEAN_VALIDATION_GROUPS
bean-validation-groups tag


BEAN_VALIDATION_GROUP

public static final IronJacamar.Tag BEAN_VALIDATION_GROUP
bean-validation-group tag


BOOTSTRAP_CONTEXT

public static final IronJacamar.Tag BOOTSTRAP_CONTEXT
bootstrap-context tag


TRANSACTION_SUPPORT

public static final IronJacamar.Tag TRANSACTION_SUPPORT
transaction-support tag


CONNECTION_DEFINITIONS

public static final IronJacamar.Tag CONNECTION_DEFINITIONS
connection-definitions tag


CONNECTION_DEFINITION

public static final IronJacamar.Tag CONNECTION_DEFINITION
connection-definition tag


ADMIN_OBJECTS

public static final IronJacamar.Tag ADMIN_OBJECTS
admin-objects tag


ADMIN_OBJECT

public static final IronJacamar.Tag ADMIN_OBJECT
admin-objects tag

Method Detail

values

public static IronJacamar.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 (IronJacamar.Tag c : IronJacamar.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 IronJacamar.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 name
NullPointerException - 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:
toString in class Enum<IronJacamar.Tag>

forName

public static IronJacamar.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


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)