You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sc...@apache.org on 2002/01/16 17:41:36 UTC

cvs commit: xml-axis/java/src/javax/xml/rpc/encoding TypeMapping.java TypeMappingRegistry.java

scheu       02/01/16 08:41:36

  Modified:    java/src/javax/xml/rpc/encoding TypeMapping.java
                        TypeMappingRegistry.java
  Log:
  Fixed signatures.
  
  Revision  Changes    Path
  1.7       +1 -1      xml-axis/java/src/javax/xml/rpc/encoding/TypeMapping.java
  
  Index: TypeMapping.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/javax/xml/rpc/encoding/TypeMapping.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TypeMapping.java	15 Jan 2002 15:56:30 -0000	1.6
  +++ TypeMapping.java	16 Jan 2002 16:41:36 -0000	1.7
  @@ -84,7 +84,7 @@
        *
        * @param namespaceURIs String[] of namespace URI's                
        */
  -    public String[] setSupportedEncodings(String[] namespaceURIs);
  +    public void setSupportedEncodings(String[] namespaceURIs);
   
       /**
        * Registers SerializerFactory and DeserializerFactory for a 
  
  
  
  1.7       +10 -13    xml-axis/java/src/javax/xml/rpc/encoding/TypeMappingRegistry.java
  
  Index: TypeMappingRegistry.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/javax/xml/rpc/encoding/TypeMappingRegistry.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TypeMappingRegistry.java	15 Jan 2002 15:56:30 -0000	1.6
  +++ TypeMappingRegistry.java	16 Jan 2002 16:41:36 -0000	1.7
  @@ -69,39 +69,36 @@
   
       /**
        * The method register adds a TypeMapping instance for a specific 
  -     * encoding style or XML schema namespace to the 
  -     * type mapping registry.
  +     * web service namespace.                        
        *
  -     * @param mapping - TypeMapping for a specific encoding style or XML schema namespace
  -     * @param namespaceURIs - Encoding styles or XML schema namespaces specified as an URI.
  -     * An example is 
  -     * "http://schemas.xmlsoap.org/soap/encoding/"
  +     * @param mapping - TypeMapping for specific type namespaces
  +     * @param namespaceURIs - Web service namespace
        *
        * @throws JAXRPCException - If there is any error in the registration
        * of the TypeMapping for the specified namespace URI
        * java.lang.IllegalArgumentException - if an invalid namespace URI is specified
        */
  -    public void registry(TypeMapping mapping, String[] namespaceURIs)
  +    public void register(TypeMapping mapping, String[] namespaceURIs)
           throws JAXRPCException;
   
       /**
        * The method register adds a default TypeMapping instance.  If a specific
        * TypeMapping is not found, the default TypeMapping is used.  
        *
  -     * @param mapping - TypeMapping for a specific encoding style or XML schema namespace
  +     * @param mapping - TypeMapping for specific type namespaces
        *
        * @throws JAXRPCException - If there is any error in the registration
        * of the TypeMapping for the specified namespace URI
        * java.lang.IllegalArgumentException - if an invalid namespace URI is specified
        */
  -    public void registryDefault(TypeMapping mapping)
  +    public void registerDefault(TypeMapping mapping)
           throws JAXRPCException;
   
       /**
  -     * Gets the TypeMapping for the namespace.  If not found, the default TypeMapping 
  +     * Gets the TypeMapping for the Web Service namespace.  If not found, the default TypeMapping 
        * is returned.
        *
  -     * @param namespaceURI - The namespace URI of a type
  +     * @param namespaceURI - The namespace URI of a Web Service
        * @return The registered TypeMapping (which may be the default TypeMapping) or null.
        */
       public TypeMapping getTypeMapping(String namespaceURI);
  @@ -110,7 +107,7 @@
        * Removes the TypeMapping for the namespace.
        *
        * @param namespaceURI - The namespace URI of a type
  -     * @return The registered TypeMapping (which may be the default TypeMapping) or null.
  +     * @return The registered TypeMapping or null.
        */
       public TypeMapping removeTypeMapping(String namespaceURI);
   
  @@ -133,7 +130,7 @@
       /**
        * Removes all registered TypeMappings from the registery                   
        */
  -    public TypeMapping clear(String namespaceURI);
  +    public void clear(String namespaceURI);
   
   }