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


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
@DigesterRule(reflectsRule=SetPropertiesRule.class,
              handledBy=SetPropertiesHandler.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.
 String namespaceURI
          The namespace URI for which this Rule is relevant, if any.
 

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:
""

attributeName

public abstract String attributeName
The overridden parameter.

Default:
""


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