|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AnnotationUseContext>
org.apache.tapestry5.ioc.annotations.AnnotationUseContext
public enum AnnotationUseContext
Constants for documenting the context wherein the tapestry-provided annotations may be used, in conjunction with
UseWith.
| Enum Constant Summary | |
|---|---|
BEAN
Annotation may be used on/in arbitrary java beans. |
|
COMPONENT
Annotation may be used on/in component classes |
|
MIXIN
Annotation may be used on/in mixins |
|
MODULE
Annotation may be used on modules |
|
PAGE
Annotation may be used on/in page classes |
|
SERVICE
Annotation may be used on/in services |
|
SERVICE_DECORATOR
Annotation may be used for service decorators |
|
| Method Summary | |
|---|---|
static AnnotationUseContext |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AnnotationUseContext[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AnnotationUseContext COMPONENT
public static final AnnotationUseContext MIXIN
public static final AnnotationUseContext MODULE
public static final AnnotationUseContext PAGE
public static final AnnotationUseContext SERVICE
public static final AnnotationUseContext SERVICE_DECORATOR
public static final AnnotationUseContext BEAN
| Method Detail |
|---|
public static AnnotationUseContext[] values()
for (AnnotationUseContext c : AnnotationUseContext.values()) System.out.println(c);
public static AnnotationUseContext valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||