Enum XMLAttribute
- java.lang.Object
-
- java.lang.Enum<XMLAttribute>
-
- org.wildfly.extension.clustering.singleton.XMLAttribute
-
- All Implemented Interfaces:
Serializable,Comparable<XMLAttribute>
public enum XMLAttribute extends Enum<XMLAttribute>
Enumeration of XML attributes.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalName()Stringrequire(org.jboss.staxmapper.XMLExtendedStreamReader reader)static XMLAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static XMLAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE
public static final XMLAttribute CACHE
-
CACHE_CONTAINER
public static final XMLAttribute CACHE_CONTAINER
-
DEFAULT
public static final XMLAttribute DEFAULT
-
NAME
public static final XMLAttribute NAME
-
POSITION
public static final XMLAttribute POSITION
-
QUORUM
public static final XMLAttribute QUORUM
-
-
Method Detail
-
values
public static XMLAttribute[] 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 (XMLAttribute c : XMLAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XMLAttribute 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()
-
require
public String require(org.jboss.staxmapper.XMLExtendedStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
-