public static enum Extension.Attribute extends Enum<Extension.Attribute>
Enum Constant and Description |
---|
CLASS_NAME
class-name attribute
|
MODULE
module attribute
|
UNKNOWN
unknown attribute
|
Modifier and Type | Method and Description |
---|---|
static Extension.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 Extension.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Extension.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Extension.Attribute UNKNOWN
public static final Extension.Attribute CLASS_NAME
public static final Extension.Attribute MODULE
public static Extension.Attribute[] values()
for (Extension.Attribute c : Extension.Attribute.values()) System.out.println(c);
public static Extension.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<Extension.Attribute>
public static Extension.Attribute 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.