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


@Documented
@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,TYPE})
@CreationRule
@DigesterRule(reflectsRule=ObjectCreateRule.class,
              handledBy=ObjectCreateHandler.class)
public @interface ObjectCreate

Classes annotated with ObjectCreate will be bound with ObjectCreateRule digester rule.

Since:
2.1
See Also:
Digester.addObjectCreate(String,Class)

Required Element Summary
 String pattern
          The element matching pattern.
 
Optional Element Summary
 String attributeName
          Allows specify the attribute containing an override class name if it is present.
 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
Allows specify the attribute containing an override class name if it is present.

Since:
3.0
Default:
""


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