Enum XMLElement
- java.lang.Object
-
- java.lang.Enum<XMLElement>
-
- org.jboss.as.clustering.jgroups.subsystem.XMLElement
-
- All Implemented Interfaces:
Serializable,Comparable<XMLElement>
public enum XMLElement extends Enum<XMLElement>
- Author:
- David M. Lloyd
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XMLElementforAuthTokenName(String token)static XMLElementforName(String localName)static XMLElementforProtocolName(org.jboss.dmr.Property protocol)StringgetLocalName()Get the local name of this element.StringtoString()static XMLElementvalueOf(String name)Returns the enum constant of this type with the specified name.static XMLElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final XMLElement UNKNOWN
-
AUTH_PROTOCOL
public static final XMLElement AUTH_PROTOCOL
-
CIPHER_TOKEN
public static final XMLElement CIPHER_TOKEN
-
CHANNEL
public static final XMLElement CHANNEL
-
CHANNELS
public static final XMLElement CHANNELS
-
DEFAULT_THREAD_POOL
public static final XMLElement DEFAULT_THREAD_POOL
-
DIGEST_TOKEN
public static final XMLElement DIGEST_TOKEN
-
ENCRYPT_PROTOCOL
public static final XMLElement ENCRYPT_PROTOCOL
-
FORK
public static final XMLElement FORK
-
JDBC_PROTOCOL
public static final XMLElement JDBC_PROTOCOL
-
KEY_CREDENTIAL_REFERENCE
public static final XMLElement KEY_CREDENTIAL_REFERENCE
-
PLAIN_TOKEN
public static final XMLElement PLAIN_TOKEN
-
PROPERTY
public static final XMLElement PROPERTY
-
PROTOCOL
public static final XMLElement PROTOCOL
-
RELAY
public static final XMLElement RELAY
-
REMOTE_SITE
public static final XMLElement REMOTE_SITE
-
SHARED_SECRET_CREDENTIAL_REFERENCE
public static final XMLElement SHARED_SECRET_CREDENTIAL_REFERENCE
-
SOCKET_PROTOCOL
public static final XMLElement SOCKET_PROTOCOL
-
SOCKET_DISCOVERY_PROTOCOL
public static final XMLElement SOCKET_DISCOVERY_PROTOCOL
-
STACK
public static final XMLElement STACK
-
STACKS
public static final XMLElement STACKS
-
TRANSPORT
public static final XMLElement TRANSPORT
-
-
Method Detail
-
values
public static XMLElement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XMLElement c : XMLElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XMLElement valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
toString
public String toString()
- Overrides:
toStringin classEnum<XMLElement>
-
forName
public static XMLElement forName(String localName)
-
forProtocolName
public static XMLElement forProtocolName(org.jboss.dmr.Property protocol)
-
forAuthTokenName
public static XMLElement forAuthTokenName(String token)
-
-