commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1127095 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/ObjectCreate.java
Date Tue, 24 May 2011 14:50:55 GMT
Author: simonetripodi
Date: Tue May 24 14:50:55 2011
New Revision: 1127095

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

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/ObjectCreate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/ObjectCreate.java?rev=1127095&r1=1127094&r2=1127095&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/ObjectCreate.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/rules/ObjectCreate.java
Tue May 24 14:50:55 2011
@@ -57,6 +57,14 @@ public @interface ObjectCreate
     String namespaceURI() default "";
 
     /**
+     * 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 "";
+
+    /**
      * Defines several {@code @ObjectCreate} annotations on the same element.
      * 
      * @see ObjectCreate



Mime
View raw message