From 0913665102a153f5afeb04cdbaf6a616f4031414 Mon Sep 17 00:00:00 2001 From: Antonio Gallardo Rivera Date: Wed, 11 Feb 2004 09:27:55 +0000 Subject: [PATCH] Adding @version to files + Add license to 1 file. git-svn-id: https://svn.apache.org/repos/asf/cocoon/trunk@27321 13f79535-47bb-0310-9956-ffa450edef68 --- .../woody/event/AbstractFormHandler.java | 52 +++++++++++++++++++ .../cocoon/woody/event/ActionEvent.java | 2 + .../cocoon/woody/event/ActionListener.java | 1 + .../event/DeferredValueChangedEvent.java | 1 + .../cocoon/woody/event/FormHandler.java | 2 + .../cocoon/woody/event/ProcessingPhase.java | 1 + .../woody/event/ProcessingPhaseEvent.java | 1 + .../cocoon/woody/event/ValueChangedEvent.java | 1 + .../woody/event/ValueChangedListener.java | 1 + .../impl/JavaClassWidgetListenerBuilder.java | 1 + .../impl/JavaScriptWidgetListenerBuilder.java | 1 + 11 files changed, 64 insertions(+) diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java index d06ee1e7af9..1839c1ac859 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java @@ -1,9 +1,61 @@ +/* + + ============================================================================ + The Apache Software License, Version 1.1 + ============================================================================ + + Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + apache@apache.org. + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi . For more information on the Apache + Software Foundation, please see . + + */ package org.apache.cocoon.woody.event; /** * Abstract implementation of {@link FormHandler}, which checks the type * of the WidgetEvent and calls the more specific {@link #handleActionEvent} * or {@link #handleValueChangedEvent} methods. + * + * @version CVS $Id: AbstractFormHandler.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public abstract class AbstractFormHandler implements FormHandler { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java index 7705c9083aa..9b828fb9647 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java @@ -55,6 +55,8 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- /** * Currently this event originates from a {@link org.apache.cocoon.woody.formmodel.Action Button} * widget. + * + * @version CVS $Id: ActionEvent.java,v 1.5 2004/02/11 09:27:55 antonio Exp $ */ public class ActionEvent extends WidgetEvent { String actionCommand; diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java index 95c5de2534e..1b4fa6644aa 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java @@ -54,6 +54,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * Listeners for {@link ActionEvent}s * * @author Sylvain Wallez + * @version CVS $Id: ActionListener.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public interface ActionListener extends WidgetListener { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java index dd502cec802..a5f9f1bf51b 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java @@ -60,6 +60,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * value, thus avoiding unnecessary validation warnings when a user clicks an action. * * @author Sylvain Wallez + * @version CVS $Id: DeferredValueChangedEvent.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public class DeferredValueChangedEvent extends ValueChangedEvent { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java index 3cad5e6bf6a..e010eb6fc59 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java @@ -61,6 +61,8 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * handled by one class (which could of course again delegate to other classes), and when * you want the event handler to have access to objects it would not be able to get access * to if they were part of the form definition. + * + * @version CVS $Id: FormHandler.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public interface FormHandler { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java index 5f62d03039c..ed9f247115a 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java @@ -60,6 +60,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * Type-safe enumeration of the various form processing phases. * * @author Sylvain Wallez + * @version CVS $Id: ProcessingPhase.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public class ProcessingPhase extends ValuedEnum { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java index 9ab7a012f6e..4471ae98a03 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java @@ -56,6 +56,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * Event raised when a form processing phase is finished. * * @author Sylvain Wallez + * @version CVS $Id: ProcessingPhaseEvent.java,v 1.3 2004/02/11 09:27:55 antonio Exp $ */ public class ProcessingPhaseEvent extends WidgetEvent { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java index 50e248f6bd7..e0bb6c40709 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java @@ -56,6 +56,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * Event raised when a field value changes. * * @author Sylvain Wallez + * @version CVS $Id: ValueChangedEvent.java,v 1.3 2004/02/11 09:27:55 antonio Exp $ */ public class ValueChangedEvent extends WidgetEvent { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java index 1bd4a706cb4..8613ae617ad 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java @@ -54,6 +54,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * Listener invoked when a field value changes. * * @author Sylvain Wallez + * @version CVS $Id: ValueChangedListener.java,v 1.2 2004/02/11 09:27:55 antonio Exp $ */ public interface ValueChangedListener extends WidgetListener { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java index 65fbdaf7079..f2d84c7f65f 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java @@ -65,6 +65,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * * * @author Sylvain Wallez + * @version CVS $Id: JavaClassWidgetListenerBuilder.java,v 1.3 2004/02/11 09:27:55 antonio Exp $ */ public class JavaClassWidgetListenerBuilder implements WidgetListenerBuilder { diff --git a/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java b/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java index 4968efda590..1a6b9cec800 100644 --- a/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java +++ b/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java @@ -72,6 +72,7 @@ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- * variable. * * @author Sylvain Wallez + * @version CVS $Id: JavaScriptWidgetListenerBuilder.java,v 1.5 2004/02/11 09:27:55 antonio Exp $ */ public class JavaScriptWidgetListenerBuilder implements WidgetListenerBuilder {