public enum Element extends Enum<Element>
Enum Constant and Description |
---|
CLASS |
DESCRIPTION |
EXCLUDEUNLISTEDCLASSES |
JARFILE |
JTADATASOURCE |
MAPPINGFILE |
NAME |
NONJTADATASOURCE |
PERSISTENCE |
PERSISTENCEUNIT |
PROPERTIES |
PROPERTY |
PROVIDER |
SHAREDCACHEMODE |
UNKNOWN |
VALIDATIONMODE |
VERSION |
Modifier and Type | Method and Description |
---|---|
static Element |
forName(String localName) |
String |
getLocalName()
Get the local name of this element.
|
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 CLASS
public static final Element DESCRIPTION
public static final Element EXCLUDEUNLISTEDCLASSES
public static final Element JARFILE
public static final Element JTADATASOURCE
public static final Element MAPPINGFILE
public static final Element NAME
public static final Element NONJTADATASOURCE
public static final Element PERSISTENCE
public static final Element PERSISTENCEUNIT
public static final Element PROPERTIES
public static final Element PROPERTY
public static final Element PROVIDER
public static final Element SHAREDCACHEMODE
public static final Element VALIDATIONMODE
public static final Element VERSION
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 © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.