Class SetNextRuleProvider
- java.lang.Object
-
- org.apache.commons.digester.annotations.providers.SetNextRuleProvider
-
- All Implemented Interfaces:
AnnotationRuleProvider<SetNext,Method,SetNextRule>
public final class SetNextRuleProvider extends Object implements AnnotationRuleProvider<SetNext,Method,SetNextRule>
Provides instances ofSetNextRule
.- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description SetNextRuleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetNextRule
get()
Provides an instance ofRule
.void
init(SetNext annotation, Method element)
Initializes the provider.
-
-
-
Method Detail
-
init
public void init(SetNext annotation, Method element)
Initializes the provider.- Specified by:
init
in interfaceAnnotationRuleProvider<SetNext,Method,SetNextRule>
- Parameters:
annotation
- the annotation instance.element
- the annotated element reference.
-
get
public SetNextRule get()
Provides an instance ofRule
. Must never return null.- Specified by:
get
in interfaceAnnotationRuleProvider<SetNext,Method,SetNextRule>
- Returns:
- an instance of
Rule
.
-
-