dlr         2002/11/20 17:28:16

  Modified:    src/java/org/apache/xmlrpc XmlRpc.java XmlRpcClient.java
                        XmlRpcRequestProcessor.java
  Log:
  * XmlRpc: Increased visibility of the abstract objectParsed() method
    from package private to protected at the request of Emir <emir.h AT
    usask DOT ca>, who is trying to embed XML-RPC into JXTA.
  
  * XmlRpcClient, XmlRpcRequestProcessor: Made objectParsed() protected
    to agree with super-class declaration.
  
  Revision  Changes    Path
  1.35      +6 -3      xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java
  
  Index: XmlRpc.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -u -r1.34 -r1.35
  --- XmlRpc.java       11 Nov 2002 23:53:41 -0000      1.34
  +++ XmlRpc.java       21 Nov 2002 01:28:16 -0000      1.35
  @@ -436,9 +436,12 @@
       }
   
       /**
  -     *  This method is called when a root level object has been parsed.
  +     * This method is called when a root level object has been parsed.
  +     * Sub-classes implement this callback to receive the fully parsed
  +     * object.
        */
  -    abstract void objectParsed(Object what);
  +    protected abstract void objectParsed(Object what);
  +
   
       ////////////////////////////////////////////////////////////////
       // methods called by XML parser
  
  
  
  1.14      +2 -2      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java
  
  Index: XmlRpcClient.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- XmlRpcClient.java 1 Nov 2002 22:55:24 -0000       1.13
  +++ XmlRpcClient.java 21 Nov 2002 01:28:16 -0000      1.14
  @@ -474,7 +474,7 @@
           /**
            * Called when the return value has been parsed.
            */
  -        void objectParsed(Object what)
  +        protected void objectParsed(Object what)
           {
               result = what;
           }
  
  
  
  1.4       +1 -1      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcRequestProcessor.java
  
  Index: XmlRpcRequestProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcRequestProcessor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- XmlRpcRequestProcessor.java       21 Oct 2002 13:08:50 -0000      1.3
  +++ XmlRpcRequestProcessor.java       21 Nov 2002 01:28:16 -0000      1.4
  @@ -134,7 +134,7 @@
        *
        * @param what The parameter parsed from the request.
        */
  -    void objectParsed(Object what)
  +    protected void objectParsed(Object what)
       {
           requestParams.addElement(what);
       }
  
  
  


Reply via email to