commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1127082 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java
Date Tue, 24 May 2011 14:29:35 GMT
Author: simonetripodi
Date: Tue May 24 14:29:34 2011
New Revision: 1127082

URL: http://svn.apache.org/viewvc?rev=1127082&view=rev
Log:
added attributeName() property

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java?rev=1127082&r1=1127081&r2=1127082&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/FactoryCreate.java
Tue May 24 14:29:34 2011
@@ -51,6 +51,14 @@ public @interface FactoryCreate
     Class<? extends AbstractObjectCreationFactory<?>> factoryClass();
 
     /**
+     * Allows specify the attribute containing an override class name if it is present.
+     *
+     * @return The attribute containing an override class name if it is present
+     * @since 3.0
+     */
+    String attributeName() default "";
+
+    /**
      * The element matching pattern.
      * 
      * @return the element matching pattern.



Mime
View raw message