Package org.xwiki.annotation.renderer
Enum AnnotationEvent.AnnotationEventType
- java.lang.Object
-
- java.lang.Enum<AnnotationEvent.AnnotationEventType>
-
- org.xwiki.annotation.renderer.AnnotationEvent.AnnotationEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationEvent.AnnotationEventType>
- Enclosing class:
- AnnotationEvent
public static enum AnnotationEvent.AnnotationEventType extends Enum<AnnotationEvent.AnnotationEventType>
The type of annotation event that can occur during the processing.- Version:
- $Id: a418599f85554b504ed10e8492d479b7c1960a0d $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnnotationEvent.AnnotationEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnnotationEvent.AnnotationEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final AnnotationEvent.AnnotationEventType START
Marks the start of an annotation.
-
END
public static final AnnotationEvent.AnnotationEventType END
Marks the end of an annotation.
-
-
Method Detail
-
values
public static AnnotationEvent.AnnotationEventType[] 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 (AnnotationEvent.AnnotationEventType c : AnnotationEvent.AnnotationEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotationEvent.AnnotationEventType 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
-
-