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