cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp XSPCookieHelper.java XSPRequestHelper.java XSPResponseHelper.java
Date Wed, 27 Feb 2002 05:33:50 GMT
vgritsenko    02/02/26 21:33:50

  Modified:    src/java/org/apache/cocoon Constants.java
               src/java/org/apache/cocoon/components/language/markup/xsp
                        XSPCookieHelper.java XSPRequestHelper.java
                        XSPResponseHelper.java
  Log:
  fix some broken javadoc comments
  
  Revision  Changes    Path
  1.10      +3 -1      xml-cocoon2/src/java/org/apache/cocoon/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/Constants.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Constants.java	22 Feb 2002 07:03:48 -0000	1.9
  +++ Constants.java	27 Feb 2002 05:33:49 -0000	1.10
  @@ -50,12 +50,14 @@
   */
   package org.apache.cocoon;
   
  +import java.util.Map;
  +
   /**
    * The <code>Constants</code> use throughout the core of the Cocoon engine.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
    * @author <a href="mailto:proyal@managingpartners.com">Peter Royal</a>
  - * @version CVS $Id: Constants.java,v 1.9 2002/02/22 07:03:48 cziegeler Exp $
  + * @version CVS $Id: Constants.java,v 1.10 2002/02/27 05:33:49 vgritsenko Exp $
    */
   public interface Constants {
   
  
  
  
  1.11      +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java
  
  Index: XSPCookieHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPCookieHelper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XSPCookieHelper.java	22 Feb 2002 07:00:08 -0000	1.10
  +++ XSPCookieHelper.java	27 Feb 2002 05:33:50 -0000	1.11
  @@ -87,7 +87,7 @@
    * private static String returnCookieProperty(Map ,String ,int ,String );
    * </pre>
    *
  - * @version CVS $Id: XSPCookieHelper.java,v 1.10 2002/02/22 07:00:08 cziegeler Exp $
  + * @version CVS $Id: XSPCookieHelper.java,v 1.11 2002/02/27 05:33:50 vgritsenko Exp $
    */
   public class XSPCookieHelper extends XSPObjectHelper {
       /**
  @@ -307,7 +307,7 @@
        * @param objectModel
        * @param cookieName name of the cookie which is to be found
        * @param cookieIndex index of the cookie which is to be found
  -     * @param ContentHandler
  +     * @param contentHandler
        * @exception SAXException
        */
       public static void getCookie(Map objectModel,
  @@ -542,7 +542,7 @@
        *                    This property will be -1 if cookie name is specified.
        *                    If both name and index are specified, name will take
        *                    preference.
  -     * @param valueOf Specifies the property whose value if to be retrieved.
  +     * @param propertyPrefix Specifies the property whose value if to be retrieved.
        *                Properties have been specifed above
        * @return     If the name or index that is passed is improper then a null value
        *             will be returned, otherwise whatever will be the extracted value of
  
  
  
  1.11      +1 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPRequestHelper.java
  
  Index: XSPRequestHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPRequestHelper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XSPRequestHelper.java	22 Feb 2002 07:00:08 -0000	1.10
  +++ XSPRequestHelper.java	27 Feb 2002 05:33:50 -0000	1.11
  @@ -70,7 +70,7 @@
    * The <code>Request</code> object helper
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Id: XSPRequestHelper.java,v 1.10 2002/02/22 07:00:08 cziegeler Exp $
  + * @version CVS $Id: XSPRequestHelper.java,v 1.11 2002/02/27 05:33:50 vgritsenko Exp $
    */
   public class XSPRequestHelper {
       /**
  @@ -300,7 +300,6 @@
        * return the request parameter values for a given name as array
        *
        * @param objectModel The Map objectModel
  -     * @param contentHandler The SAX content handler
        * @param form_encoding The supposed encoding of the request parameter.
        * @param container_encoding The encoding used by container.
        * @return Array containing requested values.
  
  
  
  1.8       +9 -14     xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPResponseHelper.java
  
  Index: XSPResponseHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPResponseHelper.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XSPResponseHelper.java	22 Feb 2002 07:00:08 -0000	1.7
  +++ XSPResponseHelper.java	27 Feb 2002 05:33:50 -0000	1.8
  @@ -68,18 +68,18 @@
    * The XSP <code>Response</code> object helper
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Id: XSPResponseHelper.java,v 1.7 2002/02/22 07:00:08 cziegeler Exp $
  + * @version CVS $Id: XSPResponseHelper.java,v 1.8 2002/02/27 05:33:50 vgritsenko Exp $
    */
   public class XSPResponseHelper {
  -  /**
  -   * Assign values to the object's namespace uri and prefix
  -   */
  -  private static final String URI = Constants.XSP_RESPONSE_URI;
  -  private static final String PREFIX = Constants.XSP_RESPONSE_PREFIX;
  +    /**
  +     * Assign values to the object's namespace uri and prefix
  +     */
  +    private static final String URI = Constants.XSP_RESPONSE_URI;
  +    private static final String PREFIX = Constants.XSP_RESPONSE_PREFIX;
   
  -    private static void getLocale(Locale locale, ContentHandler handler)
  -        throws SAXException
  -    {
  +    public static void getLocale(Response response, ContentHandler handler)
  +            throws SAXException {
  +        Locale locale = response.getLocale();
           XSPObjectHelper.start(URI, PREFIX, handler, "locale");
   
           XSPObjectHelper.elementData(URI, PREFIX, handler, "language",
  @@ -90,11 +90,6 @@
               locale.getVariant());
   
           XSPObjectHelper.end(URI, PREFIX, handler, "locale");
  -    }
  -
  -    public static void getLocale(Response response, ContentHandler handler)
  -            throws SAXException {
  -        getLocale(response.getLocale(), handler);
       }
   
       public static void addDateHeader(Response response, String name, long date) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message