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


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@DigesterRule(reflectsRule=SetRootRule.class,
              providedBy=SetRootRuleProvider.class,
              handledBy=MethodHandler.class)
public @interface SetRoot

Methods annotated with SetRoot will be bound with SetRootRule digester rule.

Since:
2.1
See Also:
Digester.addSetRoot(String,String,String)

Optional Element Summary
 Class<?>[] value
          Defines the concrete implementation(s) of @SetRoot annotated method argument.
 

value

public abstract Class<?>[] value
Defines the concrete implementation(s) of @SetRoot annotated method argument.

Returns:
the concrete implementation(s) of @SetRoot annotated method argument.
Default:
{}


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