Package org.smooks.api.bean.lifecycle
Enum BeanLifecycle
- java.lang.Object
-
- java.lang.Enum<BeanLifecycle>
-
- org.smooks.api.bean.lifecycle.BeanLifecycle
-
- All Implemented Interfaces:
Serializable
,Comparable<BeanLifecycle>
public enum BeanLifecycle extends Enum<BeanLifecycle>
- Author:
- maurice.zeijen@smies.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
CHANGE
END_FRAGMENT
POPULATE
REMOVE
START_FRAGMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BeanLifecycle
valueOf(String name)
Returns the enum constant of this type with the specified name.static BeanLifecycle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_FRAGMENT
public static final BeanLifecycle START_FRAGMENT
-
ADD
public static final BeanLifecycle ADD
-
POPULATE
public static final BeanLifecycle POPULATE
-
CHANGE
public static final BeanLifecycle CHANGE
-
END_FRAGMENT
public static final BeanLifecycle END_FRAGMENT
-
REMOVE
public static final BeanLifecycle REMOVE
-
-
Method Detail
-
values
public static BeanLifecycle[] 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 (BeanLifecycle c : BeanLifecycle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BeanLifecycle 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
-
-