You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/04/07 10:49:10 UTC
svn commit: r160386 - in webservices/axis/trunk/java/modules:
core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java
wsdl/src/org/apache/axis/wsdl/builder/AxisDescWSDLComponentFactory.java
Author: chathura
Date: Thu Apr 7 01:49:09 2005
New Revision: 160386
URL: http://svn.apache.org/viewcvs?view=rev&rev=160386
Log:
Moved the file to clear the dependency on modules.
Added:
webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java
Removed:
webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/builder/AxisDescWSDLComponentFactory.java
Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java?view=auto&rev=160386
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisDescWSDLComponentFactory.java Thu Apr 7 01:49:09 2005
@@ -0,0 +1,119 @@
+package org.apache.axis.description;
+
+import org.apache.axis.wsdl.builder.WSDLComponentFactory;
+import org.apache.wsdl.MessageReference;
+import org.apache.wsdl.WSDLBinding;
+import org.apache.wsdl.WSDLBindingMessageReference;
+import org.apache.wsdl.WSDLBindingOperation;
+import org.apache.wsdl.WSDLDescription;
+import org.apache.wsdl.WSDLEndpoint;
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.apache.wsdl.WSDLFault;
+import org.apache.wsdl.WSDLFeature;
+import org.apache.wsdl.WSDLImport;
+import org.apache.wsdl.WSDLInclude;
+import org.apache.wsdl.WSDLInterface;
+import org.apache.wsdl.WSDLOperation;
+import org.apache.wsdl.WSDLProperty;
+import org.apache.wsdl.WSDLService;
+import org.apache.wsdl.WSDLTypes;
+import org.apache.wsdl.impl.MessageReferenceImpl;
+import org.apache.wsdl.impl.WSDLBindingImpl;
+import org.apache.wsdl.impl.WSDLBindingMessageReferenceImpl;
+import org.apache.wsdl.impl.WSDLBindingOperationImpl;
+import org.apache.wsdl.impl.WSDLDescriptionImpl;
+import org.apache.wsdl.impl.WSDLEndpointImpl;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+import org.apache.wsdl.impl.WSDLFaultImpl;
+import org.apache.wsdl.impl.WSDLFeatureImpl;
+import org.apache.wsdl.impl.WSDLImportImpl;
+import org.apache.wsdl.impl.WSDLIncludeImpl;
+import org.apache.wsdl.impl.WSDLInterfaceImpl;
+import org.apache.wsdl.impl.WSDLPropertyImpl;
+import org.apache.wsdl.impl.WSDLTypesImpl;
+
+/**
+ * @author chathura@opensource.lk
+ *
+ */
+public class AxisDescWSDLComponentFactory implements WSDLComponentFactory {
+
+
+ public WSDLDescription createDescription() {
+ return new WSDLDescriptionImpl();
+ }
+
+
+ public WSDLService createService() {
+ return new AxisService();
+ }
+
+
+ public WSDLInterface createInterface() {
+ return new WSDLInterfaceImpl();
+ }
+
+
+ public WSDLTypes createTypes() {
+ return new WSDLTypesImpl();
+ }
+
+
+ public WSDLBinding createBinding() {
+ return new WSDLBindingImpl();
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.axis.wsdl.builder.WSDLComponentFactory#createFault()
+ */
+ public WSDLOperation createOperation() {
+ return null;
+ }
+
+
+ public WSDLEndpoint createEndpoint() {
+ return new WSDLEndpointImpl();
+ }
+
+
+ public WSDLFault createFault() {
+ return new WSDLFaultImpl();
+ }
+
+
+ public WSDLFeature createFeature() {
+ return new WSDLFeatureImpl();
+ }
+
+
+ public WSDLImport createImport() {
+ return new WSDLImportImpl();
+ }
+
+
+ public WSDLInclude createInclude() {
+ return new WSDLIncludeImpl();
+ }
+
+
+ public WSDLProperty createProperty() {
+ return new WSDLPropertyImpl();
+ }
+
+ public MessageReference createMessageReference(){
+ return new MessageReferenceImpl();
+ }
+
+ public WSDLBindingMessageReference createWSDLBindingMessageReference(){
+ return new WSDLBindingMessageReferenceImpl();
+ }
+
+ public WSDLBindingOperation createWSDLBindingOperation(){
+ return new WSDLBindingOperationImpl();
+ }
+
+ public WSDLExtensibilityElement createWSDLExtensibilityElement(){
+ return new WSDLExtensibilityElementImpl();
+ }
+
+}