juergen     2002/06/03 04:58:41

  Modified:    src/share/org/apache/slide/common
                        RequestedPropertiesImpl.java
  Log:
  Added add(Element) method.
  (ralf)
  
  Revision  Changes    Path
  1.8       +20 -8     
jakarta-slide/src/share/org/apache/slide/common/RequestedPropertiesImpl.java
  
  Index: RequestedPropertiesImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/RequestedPropertiesImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RequestedPropertiesImpl.java      22 May 2002 11:28:34 -0000      1.7
  +++ RequestedPropertiesImpl.java      3 Jun 2002 11:58:41 -0000       1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/RequestedPropertiesImpl.java,v
 1.7 2002/05/22 11:28:34 juergen Exp $
  - * $Revision: 1.7 $
  - * $Date: 2002/05/22 11:28:34 $
  + * $Header: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/RequestedPropertiesImpl.java,v
 1.8 2002/06/03 11:58:41 juergen Exp $
  + * $Revision: 1.8 $
  + * $Date: 2002/06/03 11:58:41 $
    *
    * ====================================================================
    *
  @@ -78,7 +78,7 @@
    * Holds one property as part of the SELECT element.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Martin Wallmer</a>
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
    */
   public class RequestedPropertiesImpl implements RequestedProperties {
       
  @@ -91,12 +91,25 @@
       public RequestedPropertiesImpl() {}
   
       /**
  -      * Constructs a List of RequestedProperty from a <DAV:prop> element
  -      * or <DAV:allprop>
  +     * Constructs a List of RequestedProperty from a <code>&lt;DAV:prop&gt;</code>
  +     * or <code>&lt;DAV:allprop&gt;</code>.
         *
  -      * @param      propElement <DAV:prop> or <DAV:allprop>
  +     * @param      propElement  <code>&lt;DAV:prop&gt;</code> or
  +     *                          <code>&lt;DAV:allprop&gt;</code>.
         */
       public RequestedPropertiesImpl (Element propElement) {
  +        add(propElement);
  +    }
  +    
  +    
  +    /**
  +     * Adds a List of RequestedProperty from a <code>&lt;DAV:prop&gt;</code>
  +     * or <code>&lt;DAV:allprop&gt;</code>.
  +     *
  +     * @param      propElement  <code>&lt;DAV:prop&gt;</code> or
  +     *                          <code>&lt;DAV:allprop&gt;</code>.
  +     */
  +    public void add(Element propElement) {
                
                String uri  = propElement.getNamespace().getURI();
                String name = propElement.getName ();
  @@ -123,7 +136,6 @@
                        }
                }
       }
  -    
       
       /**
        * Creates a RequestedProperty from the given parameters. This method
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to