axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r413626 [8/18] - in /webservices/axis2/trunk/c/xml_schema: include/ samples/ src/ test/
Date Mon, 12 Jun 2006 10:29:46 GMT
Modified: webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c?rev=413626&r1=413625&r2=413626&view=diff
==============================================================================
--- webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c (original)
+++ webservices/axis2/trunk/c/xml_schema/src/xml_schema_attribute_group_ref.c Mon Jun 12 03:29:40
2006
@@ -14,76 +14,76 @@
  * limitations under the License.
  */
 
-#include <axis2_xml_schema_attribute_group_ref.h>
+#include <xml_schema_attribute_group_ref.h>
 #include <axis2_utils.h>
 
 
-typedef struct axis2_xml_schema_attribute_group_ref_impl 
-                axis2_xml_schema_attribute_group_ref_impl_t;
+typedef struct xml_schema_attribute_group_ref_impl 
+                xml_schema_attribute_group_ref_impl_t;
 
 /** 
  * @brief Other Extension Struct Impl
  *   Axis2 Other Extension  
  */ 
-struct axis2_xml_schema_attribute_group_ref_impl
+struct xml_schema_attribute_group_ref_impl
 {
-    axis2_xml_schema_attribute_group_ref_t grp_ref;
+    xml_schema_attribute_group_ref_t grp_ref;
     
-    axis2_xml_schema_annotated_t *annotated;
+    xml_schema_annotated_t *annotated;
 
     axis2_qname_t *ref_qname;
     
     axis2_hash_t *methods; 
          
-    axis2_xml_schema_types_t obj_type;
+    xml_schema_types_t obj_type;
     
     axis2_hash_t* ht_super;
 };
 
 #define AXIS2_INTF_TO_IMPL(grp_ref) \
-        ((axis2_xml_schema_attribute_group_ref_impl_t *) grp_ref)
+        ((xml_schema_attribute_group_ref_impl_t *) grp_ref)
 
 /******************* function prototypes **********************************/
 axis2_status_t AXIS2_CALL 
-axis2_xml_schema_attribute_group_ref_free(
+xml_schema_attribute_group_ref_free(
         void *grp_ref,
         const axis2_env_t *env);
 
-axis2_xml_schema_annotated_t *AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_get_base_impl(
+xml_schema_annotated_t *AXIS2_CALL
+xml_schema_attribute_group_ref_get_base_impl(
         void *grp_ref,
         const axis2_env_t *env);
 
-axis2_xml_schema_types_t AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_get_type(
+xml_schema_types_t AXIS2_CALL
+xml_schema_attribute_group_ref_get_type(
         void *grp_ref,
         const axis2_env_t *env);
 
 axis2_hash_t* AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_super_objs(void *grp_ref,
+xml_schema_attribute_group_ref_super_objs(void *grp_ref,
                                         const axis2_env_t *env);
 
 axis2_qname_t* AXIS2_CALL 
-axis2_xml_schema_attribute_group_ref_get_ref_qname(
+xml_schema_attribute_group_ref_get_ref_qname(
         void *grp_ref,
         const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
-axis2_xml_schema_attribute_group_ref_set_ref_qname(
+xml_schema_attribute_group_ref_set_ref_qname(
         void *grp_ref,
         const axis2_env_t *env,
         axis2_qname_t *any_attr);  
 
  /************************ end function prototypes ******************************/
  
-AXIS2_EXTERN axis2_xml_schema_attribute_group_ref_t * AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_create(const axis2_env_t *env)
+AXIS2_EXTERN xml_schema_attribute_group_ref_t * AXIS2_CALL
+xml_schema_attribute_group_ref_create(const axis2_env_t *env)
 {
-    axis2_xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
+    xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
     attr_impl = AXIS2_MALLOC(env->allocator, 
-                    sizeof(axis2_xml_schema_attribute_group_ref_impl_t));
+                    sizeof(xml_schema_attribute_group_ref_impl_t));
     if(!attr_impl)
     {
         AXIS2_ERROR_SET(env->error , AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -95,32 +95,32 @@
     attr_impl->methods = NULL;
     attr_impl->ht_super = NULL;
     attr_impl->ref_qname = NULL;
-    attr_impl->obj_type = AXIS2_XML_SCHEMA_ATTRIBUTE_GROUP_REF;
+    attr_impl->obj_type = XML_SCHEMA_ATTRIBUTE_GROUP_REF;
         
     attr_impl->grp_ref.ops = AXIS2_MALLOC(env->allocator, 
-                    sizeof(axis2_xml_schema_attribute_group_ref_ops_t));
+                    sizeof(xml_schema_attribute_group_ref_ops_t));
 
     if(!attr_impl->grp_ref.ops)
     {
-        axis2_xml_schema_attribute_group_ref_free(&(attr_impl->grp_ref), env);
+        xml_schema_attribute_group_ref_free(&(attr_impl->grp_ref), env);
         AXIS2_ERROR_SET(env->error , 
             AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
     attr_impl->grp_ref.ops->free = 
-        axis2_xml_schema_attribute_group_ref_free;
+        xml_schema_attribute_group_ref_free;
     attr_impl->grp_ref.ops->get_type =
-        axis2_xml_schema_attribute_group_ref_get_type;
+        xml_schema_attribute_group_ref_get_type;
     attr_impl->grp_ref.ops->super_objs =
-        axis2_xml_schema_attribute_group_ref_super_objs;                
+        xml_schema_attribute_group_ref_super_objs;                
     attr_impl->grp_ref.ops->get_base_impl = 
-        axis2_xml_schema_attribute_group_ref_get_base_impl;
+        xml_schema_attribute_group_ref_get_base_impl;
 
     attr_impl->grp_ref.ops->get_ref_qname =
-        axis2_xml_schema_attribute_group_ref_get_ref_qname;
+        xml_schema_attribute_group_ref_get_ref_qname;
     attr_impl->grp_ref.ops->set_ref_qname =
-        axis2_xml_schema_attribute_group_ref_set_ref_qname;        
+        xml_schema_attribute_group_ref_set_ref_qname;        
                                                                     
     attr_impl->methods = axis2_hash_make(env);
     attr_impl->ht_super = axis2_hash_make(env);
@@ -130,42 +130,42 @@
         return NULL;
     }
     axis2_hash_set(attr_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
-            axis2_xml_schema_attribute_group_ref_free);
+            xml_schema_attribute_group_ref_free);
     axis2_hash_set(attr_impl->methods, "get_type", AXIS2_HASH_KEY_STRING,
-            axis2_xml_schema_attribute_group_ref_get_type);
+            xml_schema_attribute_group_ref_get_type);
     axis2_hash_set(attr_impl->methods, "super_objs", AXIS2_HASH_KEY_STRING,
-            axis2_xml_schema_attribute_group_ref_super_objs);            
+            xml_schema_attribute_group_ref_super_objs);            
     
-    attr_impl->annotated = axis2_xml_schema_annotated_create(env);
+    attr_impl->annotated = xml_schema_annotated_create(env);
     if(!attr_impl->methods)
     {
-        axis2_xml_schema_attribute_group_ref_free(&(attr_impl->grp_ref), env);
+        xml_schema_attribute_group_ref_free(&(attr_impl->grp_ref), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
-    axis2_hash_set(attr_impl->ht_super, "AXIS2_XML_SCHEMA_ATTRIBUTE", 
+    axis2_hash_set(attr_impl->ht_super, "XML_SCHEMA_ATTRIBUTE", 
             AXIS2_HASH_KEY_STRING, &(attr_impl->grp_ref));
             
-    axis2_hash_set(attr_impl->ht_super, "AXIS2_XML_SCHEMA_ANNOTATED", 
+    axis2_hash_set(attr_impl->ht_super, "XML_SCHEMA_ANNOTATED", 
             AXIS2_HASH_KEY_STRING, attr_impl->annotated);
 
-    axis2_hash_set(attr_impl->ht_super, "AXIS2_XML_SCHEMA_OBJ", 
+    axis2_hash_set(attr_impl->ht_super, "XML_SCHEMA_OBJ", 
             AXIS2_HASH_KEY_STRING, 
-            AXIS2_XML_SCHEMA_ANNOTATED_GET_BASE_IMPL(attr_impl->annotated, env));
+            XML_SCHEMA_ANNOTATED_GET_BASE_IMPL(attr_impl->annotated, env));
                             
-    status = axis2_xml_schema_annotated_resolve_methods(
+    status = xml_schema_annotated_resolve_methods(
             &(attr_impl->grp_ref.base), env, attr_impl->annotated, 
             attr_impl->methods); 
     return &(attr_impl->grp_ref);
 }
 
 axis2_status_t AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_free(
+xml_schema_attribute_group_ref_free(
         void *grp_ref,
         const axis2_env_t *env)
 {
-    axis2_xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
+    xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     attr_impl = AXIS2_INTF_TO_IMPL(grp_ref);
@@ -188,7 +188,7 @@
    
     if(NULL != attr_impl->annotated)
     {
-        AXIS2_XML_SCHEMA_ANNOTATED_FREE(attr_impl->annotated, env);
+        XML_SCHEMA_ANNOTATED_FREE(attr_impl->annotated, env);
         attr_impl->annotated = NULL;
     }
     
@@ -208,20 +208,20 @@
     return AXIS2_SUCCESS;
 }
 
-axis2_xml_schema_annotated_t *AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_get_base_impl(
+xml_schema_annotated_t *AXIS2_CALL
+xml_schema_attribute_group_ref_get_base_impl(
         void *grp_ref,
         const axis2_env_t *env)
 {
-    axis2_xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
+    xml_schema_attribute_group_ref_impl_t *attr_impl = NULL;
 
     AXIS2_ENV_CHECK(env, NULL);
     attr_impl = AXIS2_INTF_TO_IMPL(grp_ref);
     return attr_impl->annotated;
 }
 
-axis2_xml_schema_types_t AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_get_type(
+xml_schema_types_t AXIS2_CALL
+xml_schema_attribute_group_ref_get_type(
         void *grp_ref,
         const axis2_env_t *env)
 {
@@ -229,7 +229,7 @@
 }                                    
 
 axis2_hash_t* AXIS2_CALL
-axis2_xml_schema_attribute_group_ref_super_objs(
+xml_schema_attribute_group_ref_super_objs(
         void *grp_ref,
         const axis2_env_t *env)
 {
@@ -237,7 +237,7 @@
 }
 
 axis2_qname_t* AXIS2_CALL 
-axis2_xml_schema_attribute_group_ref_get_ref_qname(
+xml_schema_attribute_group_ref_get_ref_qname(
         void *grp_ref,
         const axis2_env_t *env)
 {
@@ -245,12 +245,12 @@
 }
 
 axis2_status_t AXIS2_CALL 
-axis2_xml_schema_attribute_group_ref_set_ref_qname(
+xml_schema_attribute_group_ref_set_ref_qname(
         void *grp_ref,
         const axis2_env_t *env,
         axis2_qname_t *ref_qname)
 {
-    axis2_xml_schema_attribute_group_ref_impl_t *attr_grp_impl = NULL;
+    xml_schema_attribute_group_ref_impl_t *attr_grp_impl = NULL;
     AXIS2_PARAM_CHECK(env->error, ref_qname, AXIS2_FAILURE);
     attr_grp_impl = AXIS2_INTF_TO_IMPL(grp_ref);
     if(NULL != attr_grp_impl->ref_qname)



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


Mime
View raw message