Author: simonetripodi
Date: Sat Jan 29 21:28:31 2011
New Revision: 1065113
URL: http://svn.apache.org/viewvc?rev=1065113&view=rev
Log:
added missing Digester getter, it will be useful for implementations
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=1065113&r1=1065112&r2=1065113&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:28:31 2011
@@ -37,6 +37,12 @@ public interface ObjectCreationFactory<T
T createObject(Attributes attributes) throws Exception;
/**
+ * <p>Returns the {@link Digester} that was set by the
+ * {@link FactoryCreateRule} upon initialization.
+ */
+ Digester getDigester();
+
+ /**
* <p>Set the {@link Digester} to allow the implementation to do logging,
* classloading based on the digester's classloader, etc.
*