|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataSources.Tag>
org.jboss.jca.common.api.metadata.ds.DataSources.Tag
public static enum DataSources.Tag

A Tag.
| Enum Constant Summary | |
|---|---|
DATASOURCE
datasource tag |
|
DRIVER
driver tag |
|
DRIVERS
driverS tag |
|
UNKNOWN
always first |
|
XA_DATASOURCE
xa-datasource tag |
|
| Method Summary | |
|---|---|
static DataSources.Tag |
forName(String localName)
Static method to get enum instance given localName XsdString |
String |
getLocalName()
Get the local name of this element. |
String |
toString()
|
static DataSources.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataSources.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 |
|---|
public static final DataSources.Tag UNKNOWN
public static final DataSources.Tag DATASOURCE
public static final DataSources.Tag XA_DATASOURCE
public static final DataSources.Tag DRIVERS
public static final DataSources.Tag DRIVER
| Method Detail |
|---|
public static DataSources.Tag[] values()
for (DataSources.Tag c : DataSources.Tag.values()) System.out.println(c);
public static DataSources.Tag valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getLocalName()
public String toString()
toString in class Enum<DataSources.Tag>public static DataSources.Tag forName(String localName)
localName - a XsdString used as localname (typically tag name as defined in xsd)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||