You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2005/12/07 00:48:17 UTC

svn commit: r354619 - /incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java

Author: jkaputin
Date: Tue Dec  6 15:48:11 2005
New Revision: 354619

URL: http://svn.apache.org/viewcvs?rev=354619&view=rev
Log:
completed the setting of parent element on some of the
parse methods and change the arg type to WSDLElement.

Modified:
    incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java

Modified: incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java?rev=354619&r1=354618&r2=354619&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java (original)
+++ incubator/woden/java/src/org/apache/woden/internal/DOMWSDLReader.java Tue Dec  6 15:48:11 2005
@@ -602,7 +602,7 @@
     private InterfaceFaultElement parseInterfaceFault(
                                              Element faultEl,
                                              DescriptionElement desc,
-                                             InterfaceElement parent) 
+                                             WSDLElement parent) 
                                              throws WSDLException
     {
         InterfaceFaultElement fault = desc.createInterfaceFaultElement();
@@ -667,7 +667,7 @@
     private InterfaceOperationElement parseInterfaceOperation(
                                                  Element operEl, 
                                                  DescriptionElement desc,
-                                                 InterfaceElement parent) 
+                                                 WSDLElement parent) 
                                                  throws WSDLException
     {
         InterfaceOperationElement oper = desc.createInterfaceOperationElement();
@@ -755,7 +755,7 @@
     private FaultReferenceElement parseInterfaceFaultReference(
                                                  Element faultRefEl,
                                                  DescriptionElement desc,
-                                                 InterfaceOperationElement parent)
+                                                 WSDLElement parent)
                                                  throws WSDLException
     {
         FaultReferenceElement faultRef = desc.createInterfaceFaultReferenceElement();
@@ -829,7 +829,7 @@
     private InterfaceMessageReferenceElement parseInterfaceMessageReference(
                                                  Element msgRefEl,
                                                  DescriptionElement desc,
-                                                 InterfaceOperationElement parent)
+                                                 WSDLElement parent)
                                                  throws WSDLException
     {
         InterfaceMessageReferenceElement message = desc.createInterfaceMessageReferenceElement();
@@ -1002,6 +1002,7 @@
                                                   throws WSDLException
     {
         BindingFaultElement fault = desc.createBindingFaultElement();
+        fault.setParentElement(parent);
         
         String ref = DOMUtils.getAttribute(bindFaultEl, Constants.ATTR_REF);
         if(ref != null)
@@ -1062,6 +1063,7 @@
                                                  throws WSDLException
     {
         BindingOperationElement oper = desc.createBindingOperationElement();
+        oper.setParentElement(parent);
         
         String ref = DOMUtils.getAttribute(bindOpEl, Constants.ATTR_REF);
         if(ref != null)



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