org.jboss.metadata.parser.spec
public enum Element extends Enum<Element>
Enum Constant and Description |
---|
ALT_DD |
APPLICATION_NAME |
CONNECTOR |
CONTEXT_ROOT |
EJB |
INITIALIZATION_IN_ORDER |
JAVA |
LIBRARY_DIRECTORY |
MESSAGE_DESTINATION |
MODULE |
SECURITY_ROLE |
UNKNOWN |
WEB |
WEB_URI |
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 ALT_DD
public static final Element APPLICATION_NAME
public static final Element CONNECTOR
public static final Element CONTEXT_ROOT
public static final Element EJB
public static final Element INITIALIZATION_IN_ORDER
public static final Element JAVA
public static final Element LIBRARY_DIRECTORY
public static final Element MESSAGE_DESTINATION
public static final Element MODULE
public static final Element SECURITY_ROLE
public static final Element WEB
public static final Element WEB_URI
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 © 2014 JBoss by Red Hat. All rights reserved.