public static enum Driver.Tag extends Enum<Driver.Tag>
Enum Constant and Description |
---|
DATASOURCE_CLASS
DatasourceClass tag
|
DRIVER_CLASS
driverClass tag
|
UNKNOWN
always first
|
XA_DATASOURCE_CLASS
xaDatasourceClass tag
|
Modifier and Type | Method and Description |
---|---|
static Driver.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 Driver.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Driver.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Driver.Tag UNKNOWN
public static final Driver.Tag DRIVER_CLASS
public static final Driver.Tag DATASOURCE_CLASS
public static final Driver.Tag XA_DATASOURCE_CLASS
public static Driver.Tag[] values()
for (Driver.Tag c : Driver.Tag.values()) System.out.println(c);
public static Driver.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 nameNullPointerException
- if the argument is nullpublic String getLocalName()
public String toString()
toString
in class Enum<Driver.Tag>
public static Driver.Tag forName(String localName)
localName
- a XsdString used as localname (typically tag name as defined in xsd)Copyright © 2021 JBoss by Red Hat. All rights reserved.