axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r676107 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java
Date Sat, 12 Jul 2008 00:36:52 GMT
Author: nadiramra
Date: Fri Jul 11 17:36:52 2008
New Revision: 676107

URL: http://svn.apache.org/viewvc?rev=676107&view=rev
Log:
Add method comments.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java?rev=676107&r1=676106&r2=676107&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java Fri
Jul 11 17:36:52 2008
@@ -2071,7 +2071,8 @@
     }
     
     /*
-     * check whether node should be namespace qualified or not.
+     * check whether node should be namespace qualified or not by checking for "form"
+     * attribute. If "form" attribute not specified, the defaultAnswer is returned.
      */
     public static boolean shouldWeNamespaceQualifyNode(Node elementNode, boolean defaultAnswer)
     {
@@ -2087,6 +2088,10 @@
             return defaultAnswer;
     }
     
+    /*
+     * Find out whether schema's elementFormDefault is "qualified" or not.  This is done
by 
+     * recursively interrogating parent nodes until it is found or not. 
+     */
     public static boolean isElementFormDefaultQualified(Node elementNode)
     {
         if (elementNode != null)
@@ -2099,6 +2104,10 @@
         return false;
     }
     
+    /*
+     * Find out whether schema's attributeFormDefault is "qualified" or not.  This is done
by 
+     * recursively interrogating parent nodes until it is found or not. 
+     */
     public static boolean isAttributeFormDefaultQualified(Node attributeNode)
     {
         if (attributeNode != null)



Mime
View raw message