Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.commons.digester3.annotations.rules
Annotation Type SetRoot

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    @DigesterRule(reflectsRule=SetRootRule.class,
                  handledBy=SetRootHandler.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
`boolean` | `fireOnBegin` Marks the rule be invoked when `begin` or `end` events match.
`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.

  Default:
    {}

### fireOnBegin

    public abstract boolean fireOnBegin

  Marks the rule be invoked when `begin` or `end` events match.

  Default:
    false

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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