Annotation Type StackCallParam
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) @DigesterRule(reflectsRule=CallParamRule.class, providedBy=StackCallParamRuleProvider.class) public @interface StackCallParam
Methods arguments annotated withStackCallParam
will be bound withCallParamRule
digester rule.- Since:
- 2.1
- See Also:
Digester.addCallParam(String,int,int)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
pattern
The element matching pattern.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
stackIndex
The call parameter to the stackIndex'th object down the stack, where 0 is the top of the stack, 1 the next element down and so on.
-
-
-
Element Detail
-
pattern
java.lang.String pattern
The element matching pattern.- Returns:
- the element matching pattern.
-
-
-
stackIndex
int stackIndex
The call parameter to the stackIndex'th object down the stack, where 0 is the top of the stack, 1 the next element down and so on.- Returns:
- the stackIndex'th object down the stack.
- Default:
- 0
-
-