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/05 20:29:21 UTC

svn commit: r354138 - in /incubator/woden/java/src/org/apache/woden: internal/wsdl20/extensions/soap/SOAPModuleImpl.java wsdl20/extensions/soap/SOAPModule.java wsdl20/extensions/soap/SOAPModuleElement.java

Author: jkaputin
Date: Mon Dec  5 11:29:08 2005
New Revision: 354138

URL: http://svn.apache.org/viewcvs?rev=354138&view=rev
Log:
Work in progress for the SOAPModule extension element.

Added:
    incubator/woden/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPModuleImpl.java
    incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModule.java
    incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModuleElement.java

Added: incubator/woden/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPModuleImpl.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPModuleImpl.java?rev=354138&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPModuleImpl.java (added)
+++ incubator/woden/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPModuleImpl.java Mon Dec  5 11:29:08 2005
@@ -0,0 +1,169 @@
+/**
+ * Copyright 2005 Apache Software Foundation 
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+package org.apache.woden.internal.wsdl20.extensions.soap;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+import org.apache.woden.wsdl20.extensions.soap.SOAPModule;
+import org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement;
+import org.apache.woden.wsdl20.xml.DocumentationElement;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+import org.apache.woden.xml.XMLAttr;
+
+/**
+ * This class represents the SOAPModule Component and the <wsoap:module> 
+ * extension element that can appear within a Binding, Binding Fault, 
+ * Binding Operation, Binding Fault Reference or Binding Message Reference.
+ * 
+ * @author jkaputin@apache.org
+ */
+public class SOAPModuleImpl implements SOAPModule, SOAPModuleElement {
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModule#getRef()
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#getRef()
+     */
+    public URI getRef() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModule#getRequired()
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#getRequired()
+     */
+    public Boolean getRequired() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModule#getParent()
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#getParent()
+     */
+    public WSDLElement getParent() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#setRef(java.net.URI)
+     */
+    public void setRef(URI uri) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#setParent(org.apache.woden.wsdl20.xml.WSDLElement)
+     */
+    public void setParent(WSDLElement wsdlEl) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#addDocumentationElement(org.apache.woden.wsdl20.xml.DocumentationElement)
+     */
+    public void addDocumentationElement(DocumentationElement docEl) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.soap.SOAPModuleElement#getDocumentationElements()
+     */
+    public DocumentationElement[] getDocumentationElements() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setElementQName(javax.xml.namespace.QName)
+     */
+    public void setElementQName(QName qname) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#getElementQName()
+     */
+    public QName getElementQName() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setRequired(java.lang.Boolean)
+     */
+    public void setRequired(Boolean required) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#setExtensionAttribute(javax.xml.namespace.QName, org.apache.woden.xml.XMLAttr)
+     */
+    public void setExtensionAttribute(QName attrQN, XMLAttr attr) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttribute(javax.xml.namespace.QName)
+     */
+    public XMLAttr getExtensionAttribute(QName attrQN) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttributes()
+     */
+    public XMLAttr[] getExtensionAttributes() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#addExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
+     */
+    public void addExtensionElement(ExtensionElement extEl) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#removeExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
+     */
+    public void removeExtensionElement(ExtensionElement extEl) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#getExtensionElements()
+     */
+    public ExtensionElement[] getExtensionElements() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+}

Added: incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModule.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModule.java?rev=354138&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModule.java (added)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModule.java Mon Dec  5 11:29:08 2005
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2005 Apache Software Foundation 
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+package org.apache.woden.wsdl20.extensions.soap;
+
+import java.net.URI;
+
+import org.apache.woden.wsdl20.xml.WSDLElement;
+
+/**
+ * This interface represents the SOAPModule Component that can appear in the
+ * optional {soap modules} property of the WSDL 2.0 components Binding, BindingFault, 
+ * BindingOperation, BindingFaultReference or BindingMessageReference.
+ * 
+ * @author jkaputin@apache.org
+ */
+public interface SOAPModule 
+{
+    public URI getRef();
+    
+    public Boolean getRequired();
+
+    public WSDLElement getParent();
+}

Added: incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModuleElement.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModuleElement.java?rev=354138&view=auto
==============================================================================
--- incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModuleElement.java (added)
+++ incubator/woden/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPModuleElement.java Mon Dec  5 11:29:08 2005
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2005 Apache Software Foundation 
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+package org.apache.woden.wsdl20.extensions.soap;
+
+import java.net.URI;
+
+import org.apache.woden.wsdl20.extensions.AttributeExtensible;
+import org.apache.woden.wsdl20.extensions.ElementExtensible;
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+import org.apache.woden.wsdl20.xml.DocumentationElement;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+
+/**
+ * This interface represents the <wsoap:module> extension element that 
+ * can appear within a Binding, Binding Fault, Binding Operation, Binding
+ * Fault Reference or Binding Message Reference.
+ * 
+ * @author jkaputin@apache.org
+ */
+public interface SOAPModuleElement extends ExtensionElement, 
+                                           AttributeExtensible, 
+                                           ElementExtensible
+{
+    public void setRef(URI uri);
+    
+    public URI getRef();
+    
+    public void setParent(WSDLElement wsdlEl);
+    
+    public WSDLElement getParent();
+
+    public void addDocumentationElement(DocumentationElement docEl);
+    
+    public DocumentationElement[] getDocumentationElements();
+}



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