public enum Element extends Enum<Element>
Enum Constant and Description |
---|
PROPERTY |
PROTOCOL |
STACK |
SUBSYSTEM |
TRANSPORT |
UNKNOWN |
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 PROPERTY
public static final Element PROTOCOL
public static final Element STACK
public static final Element SUBSYSTEM
public static final Element TRANSPORT
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.