| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester3.binder.CallParamBuilder
public final class CallParamBuilder
Builder chained when invoking LinkedRuleBuilder.callParam().
| Method Summary | |
|---|---|
protected  CallParamRule | 
createRule()
Provides an instance of Rule. | 
 CallParamBuilder | 
fromAttribute(String attributeName)
Sets the attribute from which to save the parameter value.  | 
 CallParamBuilder | 
fromStack(boolean fromStack)
Flags the parameter to be set from the stack.  | 
 R | 
get()
Provides an instance of Rule. | 
 String | 
getNamespaceURI()
Returns the namespace URI for which this Rule is relevant, if any.  | 
 String | 
getPattern()
Returns the rule pattern associated to this builder.  | 
 CallParamBuilder | 
ofIndex(int paramIndex)
Sets the zero-relative parameter number.  | 
protected  void | 
reportError(String methodChain,
                       String message)
 | 
 LinkedRuleBuilder | 
then()
Come back to the main LinkedRuleBuilder. | 
 CallParamBuilder | 
withStackIndex(int stackIndex)
Sets the position of the object from the top of the stack.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public CallParamBuilder ofIndex(int paramIndex)
paramIndex - The zero-relative parameter number
public CallParamBuilder fromAttribute(String attributeName)
attributeName - The attribute from which to save the parameter value
public CallParamBuilder fromStack(boolean fromStack)
fromStack - the parameter flag to be set from the stack
public CallParamBuilder withStackIndex(int stackIndex)
stackIndex - The position of the object from the top of the stack
protected CallParamRule createRule()
Rule. Must never return null.
Rule.get()public final LinkedRuleBuilder then()
LinkedRuleBuilder.
LinkedRuleBuilderpublic final String getNamespaceURI()
public final R get()
Rule. Must never return null.
get in interface RuleProvider<R extends Rule>Rule.
protected final void reportError(String methodChain,
                                 String message)
public final String getPattern()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||