org.apache.commons.digester.annotations.rules
Annotation Type AttributeCallParam


@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
@DigesterRule(reflectsRule=CallParamRule.class,
              providedBy=AttributeCallParamRuleProvider.class)
public @interface AttributeCallParam

Methods arguments annotated with AttributeCallParam will be bound with CallParamRule digester rule.

Since:
2.1
See Also:
Digester.addCallParam(String,int,String)

Required Element Summary
 String attribute
          Attribute whose value is used as the parameter value.
 String pattern
          The element matching pattern.
 

Element Detail

attribute

public abstract String attribute
Attribute whose value is used as the parameter value.

Returns:
the attribute whose value is used as the parameter value.

pattern

public abstract String pattern
The element matching pattern.

Returns:
the element matching pattern.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.