commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1068555 - in /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3: RulesBinderImpl.java rulesbinder/NestedPropertiesBuilder.java
Date Tue, 08 Feb 2011 20:29:07 GMT
Author: simonetripodi
Date: Tue Feb  8 20:29:07 2011
New Revision: 1068555

URL: http://svn.apache.org/viewvc?rev=1068555&view=rev
Log:
added missing public method to allowUnknownChildElements when SetNestedProperties rule

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/NestedPropertiesBuilder.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java?rev=1068555&r1=1068554&r2=1068555&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
Tue Feb  8 20:29:07 2011
@@ -345,6 +345,11 @@ final class RulesBinderImpl implements R
                         return this;
                     }
 
+                    public NestedPropertiesBuilder allowUnknownChildElements(boolean allowUnknownChildElements)
{
+                        this.allowUnknownChildElements = allowUnknownChildElements;
+                        return this;
+                    }
+
                 });
             }
 

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/NestedPropertiesBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/NestedPropertiesBuilder.java?rev=1068555&r1=1068554&r2=1068555&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/NestedPropertiesBuilder.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/rulesbinder/NestedPropertiesBuilder.java
Tue Feb  8 20:29:07 2011
@@ -51,4 +51,12 @@ public interface NestedPropertiesBuilder
      */
     NestedPropertiesBuilder trimData(boolean trimData);
 
+    /**
+     * 
+     *
+     * @param allowUnknownChildElements
+     * @return
+     */
+    NestedPropertiesBuilder allowUnknownChildElements(boolean allowUnknownChildElements);
+
 }



Mime
View raw message