You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/01/29 22:23:02 UTC
svn commit: r1065112 -
/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/spi/ObjectCreationFactory.java
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);
+
}