cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings ValuesBean.java LenientNotOKBean.java LenientOKBean.java LenientBaseBean.java
Date Thu, 12 Feb 2004 02:52:18 GMT
antonio     2004/02/11 18:52:18

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings
                        ValuesBean.java LenientNotOKBean.java
                        LenientOKBean.java LenientBaseBean.java
  Log:
  Add licenses
  
  Revision  Changes    Path
  1.3       +51 -9     cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/ValuesBean.java
  
  Index: ValuesBean.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/ValuesBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ValuesBean.java	11 Feb 2004 10:43:32 -0000	1.2
  +++ ValuesBean.java	12 Feb 2004 02:52:18 -0000	1.3
  @@ -1,12 +1,58 @@
   /*
  - * File ValuesBean.java created by mpo on Dec 26, 2003 | 4:01:03 PM
  - * 
  - * (c) 2003 - Outerthought BVBA
  +
  + ============================================================================
  + 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  <stefano@apache.org>. For more  information on the Apache
  + Software Foundation, please see <http://www.apache.org/>.
  +
    */
   package org.apache.cocoon.woody.samples.bindings;
   
   /**
    * ValuesBean used in the 01values test.
  + * @author Marc Portier
    * @version $Id$
    */
   public class ValuesBean {
  @@ -21,9 +67,6 @@
       private boolean bool = true;
       private String other = "This field is not involved in the form.";
   
  -  
  -
  -    
       public String toString() {
           return "ValuesBean[\n"
           +"\tsimple=" +simple +"\n"
  @@ -37,7 +80,7 @@
           +"\tupdateCount=" + updateCount +"\n"
           +"\tother=" + other +"\n";
       }
  -    
  +
       /**
        * @return Returns the bool.
        */
  @@ -177,5 +220,4 @@
       public void setWriteOnly(String writeOnly) {
           this.writeOnly = writeOnly;
       }
  -
   }
  
  
  
  1.3       +50 -9     cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientNotOKBean.java
  
  Index: LenientNotOKBean.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientNotOKBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LenientNotOKBean.java	11 Feb 2004 10:43:32 -0000	1.2
  +++ LenientNotOKBean.java	12 Feb 2004 02:52:18 -0000	1.3
  @@ -1,21 +1,62 @@
   /*
  - * File LenientNotOKBean.java 
  - * created by mpo
  - * on Dec 26, 2003 | 4:01:40 PM
  - * 
  - * (c) 2003 - Outerthought BVBA
  +
  + ============================================================================
  + 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  <stefano@apache.org>. For more  information on the Apache
  + Software Foundation, please see <http://www.apache.org/>.
  +
    */
   package org.apache.cocoon.woody.samples.bindings;
   
   /**
    * LenientNotOKBean
  + * @author Marc Portier
    * @version $Id$
    */
   public class LenientNotOKBean extends LenientBaseBean{
  -
  -    
       public LenientNotOKBean(String initVal) {
           super(initVal);
       }
  -    
   }
  
  
  
  1.3       +51 -9     cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientOKBean.java
  
  Index: LenientOKBean.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientOKBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LenientOKBean.java	11 Feb 2004 10:43:32 -0000	1.2
  +++ LenientOKBean.java	12 Feb 2004 02:52:18 -0000	1.3
  @@ -1,23 +1,66 @@
   /*
  - * File LenientOKBean.java 
  - * created by mpo
  - * on Dec 26, 2003 | 4:01:29 PM
  - * 
  - * (c) 2003 - Outerthought BVBA
  +
  + ============================================================================
  + 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  <stefano@apache.org>. For more  information on the Apache
  + Software Foundation, please see <http://www.apache.org/>.
  +
    */
   package org.apache.cocoon.woody.samples.bindings;
   
   /**
    * LenientOKBean
  + * @author Marc Portier
    * @version $Id$
    */
   public class LenientOKBean extends LenientBaseBean{
  -   
  +
       public LenientOKBean(String initVal) {
           super(initVal);
       }
   
  -    
       /**
        * @return Returns the breakingField.
        */
  @@ -31,5 +74,4 @@
       public void setBreakingField(String breakingField) {
           this.breakingField = breakingField;
       }
  -
   }
  
  
  
  1.3       +53 -10    cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientBaseBean.java
  
  Index: LenientBaseBean.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/samples/bindings/LenientBaseBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LenientBaseBean.java	11 Feb 2004 10:43:32 -0000	1.2
  +++ LenientBaseBean.java	12 Feb 2004 02:52:18 -0000	1.3
  @@ -1,30 +1,73 @@
   /*
  - * File LenientBaseBean.java 
  - * created by mpo
  - * on Dec 26, 2003 | 5:54:50 PM
  - * 
  - * (c) 2003 - Outerthought BVBA
  +
  + ============================================================================
  + 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  <stefano@apache.org>. For more  information on the Apache
  + Software Foundation, please see <http://www.apache.org/>.
  +
    */
  +
   package org.apache.cocoon.woody.samples.bindings;
   
   /**
    * LenientBaseBean
  + * @author Marc Portier
    * @version $Id$
    */
   public class LenientBaseBean {
       protected String breakingField;
       protected String surviveField;
  -    
  +
       protected LenientBaseBean(String initVal) {
           this.breakingField = initVal;
           this.surviveField = initVal;
       }
  -    
  -    
  +
       public String toString() {
           final String className = this.getClass().getName();
           final String state = "[breakingField=" +breakingField + "|surviveField="+ surviveField+"]";
           return className + state;
       }
  -
   }
  
  
  

Mime
View raw message