Class ObjectParamBuilder<T>
java.lang.Object
org.apache.commons.digester3.binder.ObjectParamBuilder<T>
- Type Parameters:
T- The object type represented by this builder
- All Implemented Interfaces:
RuleProvider<ObjectParamRule>
Builder chained when invoking
LinkedRuleBuilder.objectParam(Object).- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectParamRuleProvides an instance ofRule.final ObjectParamRuleget()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.matchingAttribute(String attributeName) The attribute which we are attempting to match.ofIndex(int paramIndex) The zero-relative index of the parameter we are saving.protected final voidreportError(String methodChain, String message) final LinkedRuleBuilderthen()Come back to the mainLinkedRuleBuilder.
-
Method Details
-
ofIndex
The zero-relative index of the parameter we are saving.- Parameters:
paramIndex- The zero-relative index of the parameter we are saving- Returns:
- this builder instance
-
matchingAttribute
The attribute which we are attempting to match.- Parameters:
attributeName- The attribute which we are attempting to match- Returns:
- this builder instance
-
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
-