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 of
SetRootRule.- Since:
- 2.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
methodName
-
paramType
-
-
Constructor Details
-
SetRootRuleProvider
public SetRootRuleProvider()
-
-
Method Details
-
init
Initializes the provider.- Specified by:
initin interfaceAnnotationRuleProvider<SetRoot, Method, SetRootRule>- Parameters:
annotation- the annotation instance.element- the annotated element reference.
-
get
Provides an instance ofRule. Must never return null.- Specified by:
getin interfaceAnnotationRuleProvider<SetRoot, Method, SetRootRule>- Returns:
- an instance of
Rule.
-