commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1065112 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java
Date Sat, 29 Jan 2011 21:23:02 GMT
Author: simonetripodi
Date: Sat Jan 29 21:23:01 2011
New Revision: 1065112

URL: http://svn.apache.org/viewvc?rev=1065112&view=rev
Log:
added missing Digester setter method

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java?rev=1065112&r1=1065111&r2=1065112&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java
Sat Jan 29 21:23:01 2011
@@ -17,6 +17,8 @@
  */
 package org.apache.commons.digester3.spi;
 
+import org.apache.commons.digester3.Digester;
+import org.apache.commons.digester3.FactoryCreateRule;
 import org.xml.sax.Attributes;
 
 /**
@@ -34,4 +36,12 @@ public interface ObjectCreationFactory<T
      */
     T createObject(Attributes attributes) throws Exception;
 
+    /**
+     * <p>Set the {@link Digester} to allow the implementation to do logging,
+     * classloading based on the digester's classloader, etc.
+     *
+     * @param digester parent Digester object
+     */
+    void setDigester(Digester digester);
+
 }



Mime
View raw message