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/31 21:48:58 UTC

svn commit: r1065773 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java

Author: simonetripodi
Date: Mon Jan 31 20:48:58 2011
New Revision: 1065773

URL: http://svn.apache.org/viewvc?rev=1065773&view=rev
Log:
added minor javadoc

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.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=1065773&r1=1065772&r2=1065773&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 Mon Jan 31 20:48:58 2011
@@ -451,6 +451,11 @@ final class RulesBinderImpl implements R
         };
     }
 
+    /**
+     * Abstract {@link ParamTypeBuilder} implementation for {@code setNext()}, {@code setRoot()} and {@code setTop()}
+     *
+     * @param <R> The rule type has to be created
+     */
     private static abstract class AbstractParamTypeBuilder<R extends Rule> implements ParamTypeBuilder<R> {
 
         private final String keyPattern;
@@ -475,15 +480,24 @@ final class RulesBinderImpl implements R
             this.mainLinkedBuilder = mainBuilder;
         }
 
+        /**
+         * {@inheritDoc}
+         */
         public final LinkedRuleBuilder then() {
             return this.mainLinkedBuilder;
         }
 
+        /**
+         * {@inheritDoc}
+         */
         public final ParamTypeBuilder<R> useExactMatch(boolean useExactMatch) {
             this.useExactMatch = useExactMatch;
             return this;
         }
 
+        /**
+         * {@inheritDoc}
+         */
         public final ParamTypeBuilder<R> withParameterType(Class<?> paramType) {
             if (paramType == null) {
                 this.binder.addError("{forPattern(\"%s\").%s.withParameterType(Class<?>)} NULL Java type not allowed",
@@ -494,6 +508,9 @@ final class RulesBinderImpl implements R
             return this.withParameterType(paramType.getName());
         }
 
+        /**
+         * {@inheritDoc}
+         */
         public ParamTypeBuilder<R> withParameterType(String paramType) {
             this.paramType = paramType;
             return this;