Annotation Type SetRoot
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@DigesterRule(reflectsRule=SetRootRule.class,
handledBy=SetRootHandler.class)
public @interface SetRoot
Methods annotated with
SetRoot
will be bound with SetRootRule
digester rule.- Since:
- 2.1
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Marks the rule be invoked whenbegin
orend
events match.Class<?>[]
Defines the concrete implementation(s) of @SetRoot annotated method argument.
-
Element Details
-
value
Class<?>[] valueDefines the concrete implementation(s) of @SetRoot annotated method argument.- Default:
{}
-
fireOnBegin
boolean fireOnBeginMarks the rule be invoked whenbegin
orend
events match.- Default:
false
-