Class PluginDeclarationRuleBuilder
java.lang.Object
org.apache.commons.digester3.binder.PluginDeclarationRuleBuilder
- All Implemented Interfaces:
RuleProvider<PluginDeclarationRule>
Builder chained when invoking
LinkedRuleBuilder.declarePlugin().- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionprotected PluginDeclarationRuleProvides an instance ofRule.final PluginDeclarationRuleget()Provides an instance ofRule.final StringReturns the namespace URI for which this Rule is relevant, if any.final StringReturns the rule pattern associated to this builder.protected final voidreportError(String methodChain, String message) final LinkedRuleBuilderthen()Come back to the mainLinkedRuleBuilder.
-
Method Details
-
createRule
-
then
Come back to the mainLinkedRuleBuilder.- Returns:
- the main
LinkedRuleBuilder
-
getNamespaceURI
Returns the namespace URI for which this Rule is relevant, if any.- Returns:
- The namespace URI for which this Rule is relevant, if any
-
get
Provides an instance ofRule. Must never return null.- Specified by:
getin interfaceRuleProvider<R extends Rule>- Returns:
- an instance of
Rule.
-
reportError
-
getPattern
Returns the rule pattern associated to this builder.- Returns:
- The rule pattern associated to this builder
-