Annotation Type CallParam
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) @DigesterRule(reflectsRule=CallParamRule.class, handledBy=CallParamHandler.class) public @interface CallParam
Methods arguments annotated withCallParamwill be bound withCallParamRuledigester rule.- Since:
- 2.1
- See Also:
Digester.addCallParam(String,int)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringpatternThe element matching pattern.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringattributeNameThe attribute from which to save the parameter value.booleanfromStackFlags the parameter to be set from the stack.java.lang.StringnamespaceURIThe namespace URI for which this Rule is relevant, if any.intstackIndexSets the position of the object from the top of the stack.
-
-
-
Element Detail
-
pattern
java.lang.String pattern
The element matching pattern.
-
-
-
namespaceURI
java.lang.String namespaceURI
The namespace URI for which this Rule is relevant, if any.- Since:
- 3.0
- Default:
- ""
-
-
-
attributeName
java.lang.String attributeName
The attribute from which to save the parameter value.- Since:
- 3.0
- Default:
- ""
-
-
-
fromStack
boolean fromStack
Flags the parameter to be set from the stack.- Since:
- 3.0
- Default:
- false
-
-
-
stackIndex
int stackIndex
Sets the position of the object from the top of the stack.- Since:
- 3.0
- Default:
- 0
-
-