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 2010/01/10 20:08:40 UTC

svn commit: r897684 - in /commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations: AttributeCallParam.java CallMethodArgument.java CallParam.java PathCallParam.java StackCallParam.java

Author: simonetripodi
Date: Sun Jan 10 19:08:39 2010
New Revision: 897684

URL: http://svn.apache.org/viewvc?rev=897684&view=rev
Log:
first checkin of CallMethodArgument class
all annotations related to CallMethod annotated as @CallMethodArgument

Added:
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java   (with props)
Modified:
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AttributeCallParam.java
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallParam.java
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/PathCallParam.java
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/StackCallParam.java

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AttributeCallParam.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AttributeCallParam.java?rev=897684&r1=897683&r2=897684&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AttributeCallParam.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AttributeCallParam.java Sun Jan 10 19:08:39 2010
@@ -36,6 +36,7 @@
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.PARAMETER)
+@CallMethodArgument
 @DigesterRule(
         reflectsRule = CallParamRule.class,
         providedBy = AttributeCallParamRuleProvider.class

Added: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java?rev=897684&view=auto
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java (added)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java Sun Jan 10 19:08:39 2010
@@ -0,0 +1,36 @@
+/*
+ * 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;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Marks a Digester rule as a rule related to the {@link CallMethod} annotation.
+ *
+ * @version $Id$
+ * @since 2.1
+ */
+@Documented
+@Target(ElementType.ANNOTATION_TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface CallMethodArgument {
+
+}

Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallMethodArgument.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallParam.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallParam.java?rev=897684&r1=897683&r2=897684&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallParam.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/CallParam.java Sun Jan 10 19:08:39 2010
@@ -36,6 +36,7 @@
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.PARAMETER)
+@CallMethodArgument
 @DigesterRule(
         reflectsRule = CallParamRule.class,
         providedBy = CallParamRuleProvider.class

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/PathCallParam.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/PathCallParam.java?rev=897684&r1=897683&r2=897684&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/PathCallParam.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/PathCallParam.java Sun Jan 10 19:08:39 2010
@@ -36,6 +36,7 @@
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.PARAMETER)
+@CallMethodArgument
 @DigesterRule(
         reflectsRule = PathCallParamRule.class,
         providedBy = PathCallParamRuleProvider.class

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/StackCallParam.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/StackCallParam.java?rev=897684&r1=897683&r2=897684&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/StackCallParam.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/StackCallParam.java Sun Jan 10 19:08:39 2010
@@ -36,6 +36,7 @@
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.PARAMETER)
+@CallMethodArgument
 @DigesterRule(
         reflectsRule = CallParamRule.class,
         providedBy = StackCallParamRuleProvider.class