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


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@DigesterRule(reflectsRule=SetTopRule.class,
              handledBy=SetTopHandler.class)
public @interface SetTop

Methods annotated with SetTop will be bound with SetTopRule digester rule.

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

Required Element Summary
 String pattern
          The element matching pattern.
 
Optional Element Summary
 boolean fireOnBegin
          Marks the rule be invoked when begin or end events match.
 String namespaceURI
          The namespace URI for which this Rule is relevant, if any.
 

Element Detail

pattern

public abstract String pattern
The element matching pattern.

fireOnBegin

public abstract boolean fireOnBegin
Marks the rule be invoked when begin or end events match.

Default:
false

namespaceURI

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

Since:
3.0
Default:
""


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