Class PathCallParamBuilder
java.lang.Object
org.apache.commons.digester3.binder.PathCallParamBuilder
- All Implemented Interfaces:
RuleProvider<PathCallParamRule>
Builder chained when invoking
LinkedRuleBuilder.callParamPath().- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionprotected PathCallParamRuleProvides an instance ofRule.final PathCallParamRuleget()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.ofIndex(int paramIndex) Sets the zero-relative parameter number.protected final voidreportError(String methodChain, String message) final LinkedRuleBuilderthen()Come back to the mainLinkedRuleBuilder.
-
Method Details
-
ofIndex
Sets the zero-relative parameter number.- Parameters:
paramIndex- The zero-relative parameter number- Returns:
- this builder instance
-
createRule
Provides an instance ofRule. Must never return null.- Returns:
- an instance of
Rule. - See Also:
-
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
-