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