Author: simonetripodi Date: Mon Jul 19 15:00:21 2010 New Revision: 965519 URL: http://svn.apache.org/viewvc?rev=965519&view=rev Log: extracted the Default loader handler interface
Added: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java (with props) Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoader.java commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandler.java commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterRule.java Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoader.java URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoader.java?rev=965519&r1=965518&r2=965519&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoader.java (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoader.java Mon Jul 19 15:00:21 2010 @@ -24,7 +24,7 @@ import java.lang.reflect.Method; import org.apache.commons.digester.Digester; import org.apache.commons.digester.Rule; import org.apache.commons.digester.RuleSet; -import org.apache.commons.digester.annotations.DigesterLoaderHandler.DefaultLoaderHandler; +import org.apache.commons.digester.annotations.handlers.DefaultLoaderHandler; import org.apache.commons.digester.annotations.internal.DefaultAnnotationRuleProviderFactory; import org.apache.commons.digester.annotations.internal.DefaultDigesterLoaderHandlerFactory; import org.apache.commons.digester.annotations.internal.RuleSetCache; Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandler.java URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandler.java?rev=965519&r1=965518&r2=965519&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandler.java (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandler.java Mon Jul 19 15:00:21 2010 @@ -40,11 +40,4 @@ public interface DigesterLoaderHandler<A */ void handle(A annotation, E element, FromAnnotationsRuleSet ruleSet); - /** - * - */ - public static interface DefaultLoaderHandler extends DigesterLoaderHandler<Annotation, AnnotatedElement> { - // do nothing - } - } Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterRule.java URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterRule.java?rev=965519&r1=965518&r2=965519&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterRule.java (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterRule.java Mon Jul 19 15:00:21 2010 @@ -25,7 +25,7 @@ import java.lang.annotation.Target; import java.lang.reflect.AnnotatedElement; import org.apache.commons.digester.Rule; -import org.apache.commons.digester.annotations.DigesterLoaderHandler.DefaultLoaderHandler; +import org.apache.commons.digester.annotations.handlers.DefaultLoaderHandler; /** * Meta-annotation that marks an annotation as part of commons-digester. Added: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java?rev=965519&view=auto ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java (added) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java Mon Jul 19 15:00:21 2010 @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.digester.annotations.handlers; + +import java.lang.annotation.Annotation; +import java.lang.reflect.AnnotatedElement; + +import org.apache.commons.digester.annotations.DigesterLoaderHandler; + +/** + * The DefaultLoaderHandler marks rules that have to be processed by the built-in + * Digester annotation rules engine. + * + * @version $Id$ + * @since 2.1 + */ +public interface DefaultLoaderHandler extends DigesterLoaderHandler<Annotation, AnnotatedElement> { + +} Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/handlers/DefaultLoaderHandler.java ------------------------------------------------------------------------------ svn:mime-type = text/plain