axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r517091 - /webservices/axis2/trunk/c/rampart/src/secpolicy/builder/
Date Mon, 12 Mar 2007 03:54:04 GMT
Author: manjula
Date: Sun Mar 11 20:54:02 2007
New Revision: 517091

URL: http://svn.apache.org/viewvc?view=rev&rev=517091
Log:
Replacing axiom_node_get_first_child method with axiom_node_get_first_element.

Modified:
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c Sun Mar
11 20:54:02 2007
@@ -46,10 +46,10 @@
 
     if(algorithmsuite)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(algorithmsuite,env);
+        policy = axiom_node_get_first_element(algorithmsuite,env);
         if(policy)
         {
-            name = AXIOM_NODE_GET_FIRST_CHILD(policy,env);
+            name = axiom_node_get_first_element(policy,env);
             if(name)
             {
                 if(AXIOM_NODE_GET_NODE_TYPE(name,env) == AXIOM_ELEMENT)

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c Sun
Mar 11 20:54:02 2007
@@ -33,7 +33,7 @@
 
     if(asymmetric)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(asymmetric,env);
+        policy = axiom_node_get_first_element(asymmetric,env);
 
         if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
         {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c Sun Mar
11 20:54:02 2007
@@ -49,7 +49,7 @@
         https_token = NULL;
         return NULL;
     }
-    policy = AXIOM_NODE_GET_FIRST_CHILD(https,env);
+    policy = axiom_node_get_first_element(https,env);
     if(!policy)
         return https_token;
 

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c Sun Mar 11 20:54:02
2007
@@ -34,10 +34,10 @@
 
     if(layout)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(layout,env);
+        policy = axiom_node_get_first_element(layout,env);
         if(policy)
         {
-            name = AXIOM_NODE_GET_FIRST_CHILD(policy,env);
+            name = axiom_node_get_first_element(policy,env);
             if(name)
             {
                 if(AXIOM_NODE_GET_NODE_TYPE(name,env) == AXIOM_ELEMENT)

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c Sun Mar 11 20:54:02
2007
@@ -91,7 +91,7 @@
     else
         return NULL;
     
-    exat_node = AXIOM_NODE_GET_FIRST_CHILD(root,env);
+    exat_node = axiom_node_get_first_element(root,env);
     if(exat_node)
     {
         if(AXIOM_NODE_GET_NODE_TYPE(exat_node, env) == AXIOM_ELEMENT)
@@ -122,7 +122,7 @@
     else
         return NULL;
 
-    all_node = AXIOM_NODE_GET_FIRST_CHILD(exat_node,env);
+    all_node = axiom_node_get_first_element(exat_node,env);
     if(all_node)
     {
         if(AXIOM_NODE_GET_NODE_TYPE(all_node, env) == AXIOM_ELEMENT)

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c
(original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c
Sun Mar 11 20:54:02 2007
@@ -42,7 +42,7 @@
         security_context_token = NULL;
         return NULL;
     }
-    policy = AXIOM_NODE_GET_FIRST_CHILD(security_context,env);
+    policy = axiom_node_get_first_element(security_context,env);
     if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
     {
         pol_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(policy, env);

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c Sun
Mar 11 20:54:02 2007
@@ -32,7 +32,7 @@
 
     if(supporting)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(supporting,env);
+        policy = axiom_node_get_first_element(supporting,env);
 
         if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
         {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c Sun
Mar 11 20:54:02 2007
@@ -34,7 +34,7 @@
 
     if(symmetric)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(symmetric,env);
+        policy = axiom_node_get_first_element(symmetric,env);
 
         if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
         {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c Sun Mar 11 20:54:02
2007
@@ -37,10 +37,10 @@
         property = rp_property_create(env);
         if(!property)
             return NULL;
-        policy = AXIOM_NODE_GET_FIRST_CHILD(token,env);
+        policy = axiom_node_get_first_element(token,env);
         if(policy)
         {
-            token_name = AXIOM_NODE_GET_FIRST_CHILD(policy,env);
+            token_name = axiom_node_get_first_element(policy,env);
             if(token_name)
             {
                 if(AXIOM_NODE_GET_NODE_TYPE(token_name,env) == AXIOM_ELEMENT)

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c Sun
Mar 11 20:54:02 2007
@@ -32,7 +32,7 @@
 
     if(transport)
     {
-        policy = AXIOM_NODE_GET_FIRST_CHILD(transport,env);
+        policy = axiom_node_get_first_element(transport,env);
 
         if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
         {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c Sun Mar
11 20:54:02 2007
@@ -42,7 +42,7 @@
         username_token = NULL;
         return NULL;
     }
-    policy = AXIOM_NODE_GET_FIRST_CHILD(username,env);
+    policy = axiom_node_get_first_element(username,env);
     if(!policy) 
         return username_token;
 

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c Sun Mar 11 20:54:02
2007
@@ -34,7 +34,7 @@
     if(!wss10)
         return NULL;
 
-    policy = AXIOM_NODE_GET_FIRST_CHILD(wss,env);
+    policy = axiom_node_get_first_element(wss,env);
 
     if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
     {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c Sun Mar 11 20:54:02
2007
@@ -35,7 +35,7 @@
     if(!wss11)
         return NULL;
 
-    policy = AXIOM_NODE_GET_FIRST_CHILD(wss,env);
+    policy = axiom_node_get_first_element(wss,env);
 
     if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
     {

Modified: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c?view=diff&rev=517091&r1=517090&r2=517091
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c (original)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c Sun Mar 11
20:54:02 2007
@@ -43,7 +43,7 @@
         x509_token = NULL;
         return NULL;
     }
-    policy = AXIOM_NODE_GET_FIRST_CHILD(x509,env);
+    policy = axiom_node_get_first_element(x509,env);
     if(AXIOM_NODE_GET_NODE_TYPE(policy, env) == AXIOM_ELEMENT)
     {
         pol_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(policy, env);



---------------------------------------------------------------------
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