Annotation Type CallParam
@Documented
@Retention(RUNTIME)
@Target(PARAMETER)
@DigesterRule(reflectsRule=CallParamRule.class,
handledBy=CallParamHandler.class)
public @interface CallParam
Methods arguments annotated with
CallParam
will be bound with CallParamRule
digester rule.- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Defines several@CallParam
annotations on the same element. -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe attribute from which to save the parameter value.boolean
Flags the parameter to be set from the stack.The namespace URI for which this Rule is relevant, if any.int
Sets the position of the object from the top of the stack.
-
Element Details
-
pattern
String patternThe element matching pattern. -
namespaceURI
String namespaceURIThe namespace URI for which this Rule is relevant, if any.- Since:
- 3.0
- Default:
""
-
attributeName
String attributeNameThe attribute from which to save the parameter value.- Since:
- 3.0
- Default:
""
-
fromStack
boolean fromStackFlags the parameter to be set from the stack.- Since:
- 3.0
- Default:
false
-
stackIndex
int stackIndexSets the position of the object from the top of the stack.- Since:
- 3.0
- Default:
0
-