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 na...@apache.org on 2008/07/12 02:36:52 UTC

svn commit: r676107 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/symbolTable/CSchemaUtils.java

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)