Enum Class AbstractEmptyElementProcessor.EmptyElementBehavior
java.lang.Object
java.lang.Enum<AbstractEmptyElementProcessor.EmptyElementBehavior>
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor.EmptyElementBehavior
- All Implemented Interfaces:
Serializable
,Comparable<AbstractEmptyElementProcessor.EmptyElementBehavior>
,Constable
- Enclosing class:
AbstractEmptyElementProcessor<T>
public static enum AbstractEmptyElementProcessor.EmptyElementBehavior
extends Enum<AbstractEmptyElementProcessor.EmptyElementBehavior>
The behavior of the
ConditionalElementProcessor
when it encounters
an empty XmlElement
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen an emptyXmlElement
is encountered, simply ignore it and don't process theXmlElement
at all.When an emptyXmlElement
is encountered, attempt to process it.When an emptyXmlElement
is encountered, raise aConfigurationException
.When an emptyXmlElement
is encountered, return a default value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE
When an emptyXmlElement
is encountered, simply ignore it and don't process theXmlElement
at all. -
THROW_EXCEPTION
When an emptyXmlElement
is encountered, raise aConfigurationException
. -
USE_DEFAULT_VALUE
When an emptyXmlElement
is encountered, return a default value. -
PROCESS
When an emptyXmlElement
is encountered, attempt to process it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-