org.apache.commons.digester3.annotations.rules
Annotation Type CallMethod


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@DigesterRule(reflectsRule=CallMethodRule.class,
              handledBy=CallMethodHandler.class)
public @interface CallMethod

Methods annotated with CallMethod will be bound with CallMethodRule digester rule.

Since:
2.1
See Also:
Digester.addCallMethod(String,String,int,Class[])

Required Element Summary
 String pattern
          The element matching pattern.
 
Optional Element Summary
 String namespaceURI
          The namespace URI for which this Rule is relevant, if any.
 boolean usingElementBodyAsArgument
          Marks the CallMethodRule to be invoked using the matching element body as argument.
 

Element Detail

pattern

public abstract String pattern
The element matching pattern.

namespaceURI

public abstract String namespaceURI
The namespace URI for which this Rule is relevant, if any.

Since:
3.0
Default:
""

usingElementBodyAsArgument

public abstract boolean usingElementBodyAsArgument
Marks the CallMethodRule to be invoked using the matching element body as argument.

Default:
false


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