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


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
@DigesterRule(reflectsRule=SetPropertiesRule.class,
              providedBy=SetPropertiesRuleProvider.class,
              handledBy=SetPropertiesLoaderHandler.class)
public @interface SetProperty

Fields annotated with SetProperty will be bound with SetPropertiesRule digester rule.

Since:
2.1
See Also:
Digester.addSetProperties(String,String[],String[])

Required Element Summary
 String pattern
          The element matching pattern.
 
Optional Element Summary
 String attributeName
          The overridden parameter.
 

Element Detail

pattern

public abstract String pattern
The element matching pattern.

Returns:
the element matching pattern.

attributeName

public abstract String attributeName
The overridden parameter.

Returns:
the overridden parameter.
Default:
""


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