
public static enum LegacyDsParser.Tag extends Enum<LegacyDsParser.Tag>
| Enum Constant and Description |
|---|
CONNECTION_FACTORIES
connection-factories tag
|
DATASOURCES
datasources tag
|
UNKNOWN
always first
|
| Modifier and Type | Method and Description |
|---|---|
static LegacyDsParser.Tag |
forName(String localName)
Static method to get enum instance given localName string
|
String |
getLocalName()
Get the local name of this element.
|
static LegacyDsParser.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegacyDsParser.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegacyDsParser.Tag UNKNOWN
public static final LegacyDsParser.Tag DATASOURCES
public static final LegacyDsParser.Tag CONNECTION_FACTORIES
public static LegacyDsParser.Tag[] values()
for (LegacyDsParser.Tag c : LegacyDsParser.Tag.values()) System.out.println(c);
public static LegacyDsParser.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 static LegacyDsParser.Tag forName(String localName)
localName - a string used as localname (typically tag name as defined in xsd)Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)