public enum Element extends Enum<Element>
Modifier and Type | Method and Description |
---|---|
static Element |
forName(String localName) |
String |
getLocalName()
Get the local name of this element.
|
String |
toString() |
static Element |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element UNKNOWN
public static final Element JPA_STORE
public static Element[] values()
for (Element c : Element.values()) System.out.println(c);
public static Element 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()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.