public static enum ResourceAdapterParser.Attribute extends Enum<ResourceAdapterParser.Attribute>
Enum Constant and Description |
---|
ID
id attribute
|
UNKNOWN
always first
|
Modifier and Type | Method and Description |
---|---|
static ResourceAdapterParser.Attribute |
forName(String localName)
Static method to get enum instance given localName XsdString
|
String |
getLocalName()
Get the local name of this element.
|
String |
toString() |
static ResourceAdapterParser.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceAdapterParser.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceAdapterParser.Attribute UNKNOWN
public static final ResourceAdapterParser.Attribute ID
public static ResourceAdapterParser.Attribute[] values()
for (ResourceAdapterParser.Attribute c : ResourceAdapterParser.Attribute.values()) System.out.println(c);
public static ResourceAdapterParser.Attribute 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<ResourceAdapterParser.Attribute>
public static ResourceAdapterParser.Attribute forName(String localName)
localName
- a XsdString used as localname (typically tag name as defined in xsd)Copyright © 2015 JBoss by Red Hat. All rights reserved.