public static enum Driver.Attribute extends java.lang.Enum<Driver.Attribute>
Enum Constant and Description |
---|
MAJOR_VERSION
major-version attribute
|
MINOR_VERSION
minor-version attribute
|
MODULE
module attribute
|
NAME
name attribute
|
UNKNOWN
unknown attribute
|
Modifier and Type | Method and Description |
---|---|
static Driver.Attribute |
forName(java.lang.String localName)
Static method to get enum instance given localName XsdString
|
java.lang.String |
getLocalName()
Get the local name of this element.
|
java.lang.String |
toString() |
static Driver.Attribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Driver.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Driver.Attribute UNKNOWN
public static final Driver.Attribute NAME
public static final Driver.Attribute MAJOR_VERSION
public static final Driver.Attribute MINOR_VERSION
public static final Driver.Attribute MODULE
public static Driver.Attribute[] values()
for (Driver.Attribute c : Driver.Attribute.values()) System.out.println(c);
public static Driver.Attribute valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLocalName()
public java.lang.String toString()
toString
in class java.lang.Enum<Driver.Attribute>
public static Driver.Attribute forName(java.lang.String localName)
localName
- a XsdString used as localname (typically tag name as defined in xsd)Copyright © 2013 IronJacamar (http://www.ironjacamar.org)