xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From el...@apache.org
Subject cvs commit: xml-xerces/java/src/org/apache/xerces/xs XSModel.java
Date Mon, 16 Feb 2004 22:00:35 GMT
elena       2004/02/16 14:00:35

  Modified:    java/src/org/apache/xerces/xs XSModel.java
  Log:
  Fix a bug in the documentation for the API (sync. up with implemenation of this API)
  
  Revision  Changes    Path
  1.3       +18 -18    xml-xerces/java/src/org/apache/xerces/xs/XSModel.java
  
  Index: XSModel.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/xs/XSModel.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XSModel.java	12 Nov 2003 23:17:34 -0000	1.2
  +++ XSModel.java	16 Feb 2004 22:00:35 -0000	1.3
  @@ -117,69 +117,69 @@
   
       /**
        * Convenience method. Returns a top-level element declaration. 
  +     * @param name The name of the declaration.
        * @param namespace The namespace of the declaration, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the declaration.
        * @return A top-level element declaration or <code>null</code> if such
a 
        *   declaration does not exist. 
        */
  -    public XSElementDeclaration getElementDeclaration(String namespace, 
  -                                                      String name);
  +    public XSElementDeclaration getElementDeclaration(String name, 
  +                                                      String namespace);
   
       /**
        * Convenience method. Returns a top-level attribute declaration. 
  +     * @param name The name of the declaration.
        * @param namespace The namespace of the declaration, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the declaration.
        * @return A top-level attribute declaration or <code>null</code> if such

        *   a declaration does not exist. 
        */
  -    public XSAttributeDeclaration getAttributeDeclaration(String namespace, 
  -                                                          String name);
  +    public XSAttributeDeclaration getAttributeDeclaration(String name, 
  +                                                          String namespace);
   
       /**
        * Convenience method. Returns a top-level simple or complex type 
        * definition. 
  +     * @param name The name of the definition.
        * @param namespace The namespace of the declaration, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the definition.
        * @return An <code>XSTypeDefinition</code> or <code>null</code>
if such 
        *   a definition does not exist. 
        */
  -    public XSTypeDefinition getTypeDefinition(String namespace, 
  -                                              String name);
  +    public XSTypeDefinition getTypeDefinition(String name, 
  +                                              String namespace);
   
       /**
        * Convenience method. Returns a top-level attribute group definition. 
  +     * @param name The name of the definition.
        * @param namespace The namespace of the definition, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the definition.
        * @return A top-level attribute group definition or <code>null</code>
if 
        *   such a definition does not exist. 
        */
  -    public XSAttributeGroupDefinition getAttributeGroup(String namespace, 
  -                                                        String name);
  +    public XSAttributeGroupDefinition getAttributeGroup(String name, 
  +                                                        String namespace);
   
       /**
        * Convenience method. Returns a top-level model group definition. 
  +     * @param name The name of the definition.
        * @param namespace The namespace of the definition, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the definition.
        * @return A top-level model group definition or <code>null</code> if 
        *   such a definition does not exist. 
        */
  -    public XSModelGroupDefinition getModelGroupDefinition(String namespace, 
  -                                                          String name);
  +    public XSModelGroupDefinition getModelGroupDefinition(String name, 
  +                                                          String namespace);
   
       /**
        * Convenience method. Returns a top-level notation declaration. 
  +     * @param name The name of the declaration.
        * @param namespace The namespace of the declaration, otherwise 
        *   <code>null</code>.
  -     * @param name The name of the declaration.
        * @return A top-level notation declaration or <code>null</code> if such

        *   a declaration does not exist. 
        */
  -    public XSNotationDeclaration getNotationDeclaration(String namespace, 
  -                                                        String name);
  +    public XSNotationDeclaration getNotationDeclaration(String name, 
  +                                                        String namespace);
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org


Mime
View raw message