You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/09/15 21:07:03 UTC
svn commit: r289289 [113/134] - in /webservices/axis2/trunk/java: ./ etc/
modules/addressing/ modules/addressing/src/META-INF/
modules/addressing/src/org/apache/axis2/handlers/addressing/
modules/addressing/test-resources/ modules/addressing/test/org/a...
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPHeader.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPHeader.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPHeader.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPHeader.java Thu Sep 15 11:52:11 2005
@@ -1,41 +1,41 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions;
-
-import javax.xml.namespace.QName;
-
-public interface SOAPHeader extends SOAPBody {
-
- QName getMessage();
-
- void setMessage(QName message);
-
- String part();
-
- void setPart(String part);
-
- /**
- * these are specifically for the convenience
- * @return the schema element that is relevant to this header
- */
- QName getElement();
-
- /**
- *
- * @param element
- */
- void setElement(QName element);
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions;
+
+import javax.xml.namespace.QName;
+
+public interface SOAPHeader extends SOAPBody {
+
+ QName getMessage();
+
+ void setMessage(QName message);
+
+ String part();
+
+ void setPart(String part);
+
+ /**
+ * these are specifically for the convenience
+ * @return the schema element that is relevant to this header
+ */
+ QName getElement();
+
+ /**
+ *
+ * @param element
+ */
+ void setElement(QName element);
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPHeader.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java Thu Sep 15 11:52:11 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface SOAPOperation extends WSDLExtensibilityElement {
- public String getSoapAction();
-
- public void setSoapAction(String soapAction);
-
- public String getStyle();
-
- public void setStyle(String style);
-
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface SOAPOperation extends WSDLExtensibilityElement {
+ public String getSoapAction();
+
+ public void setSoapAction(String soapAction);
+
+ public String getStyle();
+
+ public void setStyle(String style);
+
}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/SOAPOperation.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/Schema.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/Schema.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/Schema.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/Schema.java Thu Sep 15 11:52:11 2005
@@ -1,62 +1,62 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-import org.w3c.dom.Element;
-
-import javax.xml.namespace.QName;
-import java.util.Stack;
-
-/**
- * @author chathura@opensource.lk
- */
-public interface Schema extends WSDLExtensibilityElement {
-
- /**
- *
- * @return The QName of this schema
- */
- public QName getName();
-
- /**
- * @param name of this schema
- */
- public void setName(QName name);
-
- /**
- * @return The schema Element as a DOM element
- */
- public Element getElement();
-
- /**
- * Sets the Schema Element as a DOM Element.
- * @param element
- */
- public void setElement(Element element);
- /**
- *
- *
- */
- public Stack getImportedSchemaStack();
- /**
- *
- * @param importedSchemaStack
- */
- public void setImportedSchemaStack(Stack importedSchemaStack) ;
-
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.w3c.dom.Element;
+
+import javax.xml.namespace.QName;
+import java.util.Stack;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public interface Schema extends WSDLExtensibilityElement {
+
+ /**
+ *
+ * @return The QName of this schema
+ */
+ public QName getName();
+
+ /**
+ * @param name of this schema
+ */
+ public void setName(QName name);
+
+ /**
+ * @return The schema Element as a DOM element
+ */
+ public Element getElement();
+
+ /**
+ * Sets the Schema Element as a DOM Element.
+ * @param element
+ */
+ public void setElement(Element element);
+ /**
+ *
+ *
+ */
+ public Stack getImportedSchemaStack();
+ /**
+ *
+ * @param importedSchemaStack
+ */
+ public void setImportedSchemaStack(Stack importedSchemaStack) ;
+
}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/Schema.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/DefaultExtensibilityElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/DefaultExtensibilityElementImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/DefaultExtensibilityElementImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/DefaultExtensibilityElementImpl.java Thu Sep 15 11:52:11 2005
@@ -1,49 +1,49 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.DefaultExtensibilityElement;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-/**
- * @author chathura@opensource.lk
- * This would be the default Extension class in case that the Extensibility Element
- * in the WSDL file could not be mapped to a particular Extensibility Element. In
- * which case the entire Extensibility Element will be kept as a DOM Element
- */
-public class DefaultExtensibilityElementImpl extends
- WSDLExtensibilityElementImpl implements DefaultExtensibilityElement {
-
- private Element element;
-
- /**
- * @return The Extensibility Element as a DOM Element
- */
- public Element getElement() {
- return element;
- }
-
- /**
- * Sets the DOM Element as the extensibility Elements
- * Content.
- */
- public void setElement(Element element) {
- this.element = element;
- }
-
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.DefaultExtensibilityElement;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+import org.w3c.dom.Element;
+
+/**
+ * @author chathura@opensource.lk
+ * This would be the default Extension class in case that the Extensibility Element
+ * in the WSDL file could not be mapped to a particular Extensibility Element. In
+ * which case the entire Extensibility Element will be kept as a DOM Element
+ */
+public class DefaultExtensibilityElementImpl extends
+ WSDLExtensibilityElementImpl implements DefaultExtensibilityElement {
+
+ private Element element;
+
+ /**
+ * @return The Extensibility Element as a DOM Element
+ */
+ public Element getElement() {
+ return element;
+ }
+
+ /**
+ * Sets the DOM Element as the extensibility Elements
+ * Content.
+ */
+ public void setElement(Element element) {
+ this.element = element;
+ }
+
}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/DefaultExtensibilityElementImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.WSDLExtensibilityElement;
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.ExtensionFactory;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public class ExtensionFactoryImpl implements ExtensionFactory,
- ExtensionConstants {
- /**
- * Returns the correct "Specific" ExtensibilityElement given the
- * <code>QName</code>
- *
- * @param qName QName of the ExtensibilityElement found in the WSDL
- * @return the Specific implementation for the particular QName given.
- */
- public WSDLExtensibilityElement getExtensionElement(QName qName) {
- if (SOAP_11_ADDRESS.equals(qName))
- return new SOAPAddressImpl();
- if (SCHEMA.equals(qName))
- return new SchemaImpl();
- if (SOAP_11_OPERATION.equals(qName))
- return new SOAPOperationImpl();
- if (SOAP_11_BODY.equals(qName))
- return new SOAPBodyImpl();
- if (SOAP_11_BINDING.equals(qName))
- return new SOAPBindingImpl();
- if (SOAP_11_HEADER.equals(qName))
- return new SOAPHeadeImpl();
- //soap 1.2 objects.
- if (SOAP_12_OPERATION.equals(qName))
- return new SOAPOperationImpl(SOAP_12_OPERATION);
- if (SOAP_12_BODY.equals(qName))
- return new SOAPBodyImpl(SOAP_12_BODY);
- if (SOAP_12_BINDING.equals(qName))
- return new SOAPBindingImpl(SOAP_12_BINDING);
- if (SOAP_12_HEADER.equals(qName))
- return new SOAPHeadeImpl(SOAP_12_HEADER);
- if (SOAP_12_ADDRESS.equals(qName))
- return new SOAPAddressImpl();
- return new DefaultExtensibilityElementImpl();
- }
-
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.ExtensionFactory;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class ExtensionFactoryImpl implements ExtensionFactory,
+ ExtensionConstants {
+ /**
+ * Returns the correct "Specific" ExtensibilityElement given the
+ * <code>QName</code>
+ *
+ * @param qName QName of the ExtensibilityElement found in the WSDL
+ * @return the Specific implementation for the particular QName given.
+ */
+ public WSDLExtensibilityElement getExtensionElement(QName qName) {
+ if (SOAP_11_ADDRESS.equals(qName))
+ return new SOAPAddressImpl();
+ if (SCHEMA.equals(qName))
+ return new SchemaImpl();
+ if (SOAP_11_OPERATION.equals(qName))
+ return new SOAPOperationImpl();
+ if (SOAP_11_BODY.equals(qName))
+ return new SOAPBodyImpl();
+ if (SOAP_11_BINDING.equals(qName))
+ return new SOAPBindingImpl();
+ if (SOAP_11_HEADER.equals(qName))
+ return new SOAPHeadeImpl();
+ //soap 1.2 objects.
+ if (SOAP_12_OPERATION.equals(qName))
+ return new SOAPOperationImpl(SOAP_12_OPERATION);
+ if (SOAP_12_BODY.equals(qName))
+ return new SOAPBodyImpl(SOAP_12_BODY);
+ if (SOAP_12_BINDING.equals(qName))
+ return new SOAPBindingImpl(SOAP_12_BINDING);
+ if (SOAP_12_HEADER.equals(qName))
+ return new SOAPHeadeImpl(SOAP_12_HEADER);
+ if (SOAP_12_ADDRESS.equals(qName))
+ return new SOAPAddressImpl();
+ return new DefaultExtensibilityElementImpl();
+ }
+
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/ExtensionFactoryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPAddressImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPAddressImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPAddressImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPAddressImpl.java Thu Sep 15 11:52:11 2005
@@ -1,60 +1,60 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.SOAPAddress;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- * This Extensibility Element is extended to handle particularly the
- * SOAP Adress or the Endpoint URL.
- */
-public class SOAPAddressImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
- SOAPAddress {
- /**
- * Location of the Endpoint
- */
- private String locationURI;
-
-
- public SOAPAddressImpl() {
- this.type = SOAP_11_ADDRESS;
- }
-
- public SOAPAddressImpl(QName type) {
- this.type = type;
- }
-
-
- /**
- * Gets the Endpoint adress
- */
- public String getLocationURI() {
- return locationURI;
- }
-
- /**
- * Sets the Endpoint Address
- */
- public void setLocationURI(String locationURI) {
- this.locationURI = locationURI;
- }
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPAddress;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ * This Extensibility Element is extended to handle particularly the
+ * SOAP Adress or the Endpoint URL.
+ */
+public class SOAPAddressImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
+ SOAPAddress {
+ /**
+ * Location of the Endpoint
+ */
+ private String locationURI;
+
+
+ public SOAPAddressImpl() {
+ this.type = SOAP_11_ADDRESS;
+ }
+
+ public SOAPAddressImpl(QName type) {
+ this.type = type;
+ }
+
+
+ /**
+ * Gets the Endpoint adress
+ */
+ public String getLocationURI() {
+ return locationURI;
+ }
+
+ /**
+ * Sets the Endpoint Address
+ */
+ public void setLocationURI(String locationURI) {
+ this.locationURI = locationURI;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPAddressImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java Thu Sep 15 11:52:11 2005
@@ -1,57 +1,57 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.SOAPBinding;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public class SOAPBindingImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
- SOAPBinding {
-
- protected String style;
- protected String transportURI;
-
- public SOAPBindingImpl() {
- this.type = SOAP_11_BINDING;
- }
-
- public SOAPBindingImpl(QName type) {
- this.type = type;
- }
-
- public String getStyle() {
- return style;
- }
-
- public void setStyle(String style) {
- this.style = style;
- }
-
- public String getTransportURI() {
- return transportURI;
- }
-
- public void setTransportURI(String transportURI) {
- this.transportURI = transportURI;
- }
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPBinding;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class SOAPBindingImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
+ SOAPBinding {
+
+ protected String style;
+ protected String transportURI;
+
+ public SOAPBindingImpl() {
+ this.type = SOAP_11_BINDING;
+ }
+
+ public SOAPBindingImpl(QName type) {
+ this.type = type;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public String getTransportURI() {
+ return transportURI;
+ }
+
+ public void setTransportURI(String transportURI) {
+ this.transportURI = transportURI;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBindingImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java Thu Sep 15 11:52:11 2005
@@ -1,57 +1,57 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.SOAPBody;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public class SOAPBodyImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
- SOAPBody {
-
- protected String use;
- protected String namespaceURI;
-
- public SOAPBodyImpl() {
- this.type = SOAP_11_BODY;
- }
-
- public SOAPBodyImpl(QName type) {
- this.type = type;
- }
-
- public String getNamespaceURI() {
- return namespaceURI;
- }
-
- public void setNamespaceURI(String namespaceURI) {
- this.namespaceURI = namespaceURI;
- }
-
- public String getUse() {
- return use;
- }
-
- public void setUse(String use) {
- this.use = use;
- }
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPBody;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class SOAPBodyImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
+ SOAPBody {
+
+ protected String use;
+ protected String namespaceURI;
+
+ public SOAPBodyImpl() {
+ this.type = SOAP_11_BODY;
+ }
+
+ public SOAPBodyImpl(QName type) {
+ this.type = type;
+ }
+
+ public String getNamespaceURI() {
+ return namespaceURI;
+ }
+
+ public void setNamespaceURI(String namespaceURI) {
+ this.namespaceURI = namespaceURI;
+ }
+
+ public String getUse() {
+ return use;
+ }
+
+ public void setUse(String use) {
+ this.use = use;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPBodyImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPHeadeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPHeadeImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPHeadeImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPHeadeImpl.java Thu Sep 15 11:52:11 2005
@@ -1,51 +1,51 @@
-package org.apache.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.SOAPHeader;
-
-import javax.xml.namespace.QName;
-
-/**
- * Created by IntelliJ IDEA.
- * User: Ajith
- * Date: Aug 30, 2005
- * Time: 12:19:02 PM
- * To change this template use File | Settings | File Templates.
- */
-public class SOAPHeadeImpl extends SOAPBodyImpl implements SOAPHeader {
-
- private QName messageName = null;
- private String part = null;
- private QName element = null;
-
- public SOAPHeadeImpl() {
- this.type = SOAP_11_HEADER;
- }
-
- public SOAPHeadeImpl(QName type) {
- this.type = type;
- }
-
- public QName getMessage() {
- return messageName;
- }
-
- public void setMessage(QName message) {
- this.messageName = message;
- }
-
- public String part() {
- return part;
- }
-
- public void setPart(String part) {
- this.part = part;
- }
-
- public QName getElement() {
- return element;
- }
-
- public void setElement(QName element) {
- this.element = element;
- }
-}
+package org.apache.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.SOAPHeader;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Ajith
+ * Date: Aug 30, 2005
+ * Time: 12:19:02 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class SOAPHeadeImpl extends SOAPBodyImpl implements SOAPHeader {
+
+ private QName messageName = null;
+ private String part = null;
+ private QName element = null;
+
+ public SOAPHeadeImpl() {
+ this.type = SOAP_11_HEADER;
+ }
+
+ public SOAPHeadeImpl(QName type) {
+ this.type = type;
+ }
+
+ public QName getMessage() {
+ return messageName;
+ }
+
+ public void setMessage(QName message) {
+ this.messageName = message;
+ }
+
+ public String part() {
+ return part;
+ }
+
+ public void setPart(String part) {
+ this.part = part;
+ }
+
+ public QName getElement() {
+ return element;
+ }
+
+ public void setElement(QName element) {
+ this.element = element;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPHeadeImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java Thu Sep 15 11:52:11 2005
@@ -1,57 +1,57 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.SOAPOperation;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public class SOAPOperationImpl extends WSDLExtensibilityElementImpl implements
- ExtensionConstants, SOAPOperation {
-
- private String soapAction;
-
- private String style;
-
- public SOAPOperationImpl() {
- this.type = SOAP_11_OPERATION;
- }
-
- public SOAPOperationImpl(QName type) {
- this.type = type;
- }
- public String getStyle() {
- return style;
- }
-
- public void setStyle(String style) {
- this.style = style;
- }
-
- public String getSoapAction() {
- return soapAction;
- }
-
- public void setSoapAction(String soapAction) {
- this.soapAction = soapAction;
- }
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.SOAPOperation;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class SOAPOperationImpl extends WSDLExtensibilityElementImpl implements
+ ExtensionConstants, SOAPOperation {
+
+ private String soapAction;
+
+ private String style;
+
+ public SOAPOperationImpl() {
+ this.type = SOAP_11_OPERATION;
+ }
+
+ public SOAPOperationImpl(QName type) {
+ this.type = type;
+ }
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public String getSoapAction() {
+ return soapAction;
+ }
+
+ public void setSoapAction(String soapAction) {
+ this.soapAction = soapAction;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SOAPOperationImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SchemaImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SchemaImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SchemaImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SchemaImpl.java Thu Sep 15 11:52:11 2005
@@ -1,72 +1,72 @@
-/*
- * Copyright 2001-2004 The 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.wsdl.extensions.impl;
-
-import org.apache.wsdl.extensions.ExtensionConstants;
-import org.apache.wsdl.extensions.Schema;
-import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
-import org.w3c.dom.Element;
-
-import javax.xml.namespace.QName;
-import java.util.Stack;
-
-/**
- * @author chathura@opensource.lk
- */
-public class SchemaImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
- Schema {
-
- private Element element;
- private QName name;
- private Stack importedSchemaStack= new Stack();
-
- public SchemaImpl() {
- type = SCHEMA;
- }
-
- public Stack getImportedSchemaStack() {
- return importedSchemaStack;
- }
-
- public void setImportedSchemaStack(Stack importedSchemaStack) {
- this.importedSchemaStack = importedSchemaStack;
- }
-
- public QName getName() {
- return name;
- }
-
- public void setName(QName name) {
- this.name = name;
- }
-
- /**
- * @return The schema Element as a DOM element
- */
- public Element getElement() {
- return element;
- }
-
- /**
- * Sets the Schema Element as a DOM Element.
- *
- * @param elelment
- */
- public void setElement(Element elelment) {
- this.element = elelment;
- }
-}
+/*
+ * Copyright 2001-2004 The 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.wsdl.extensions.impl;
+
+import org.apache.wsdl.extensions.ExtensionConstants;
+import org.apache.wsdl.extensions.Schema;
+import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
+import org.w3c.dom.Element;
+
+import javax.xml.namespace.QName;
+import java.util.Stack;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class SchemaImpl extends WSDLExtensibilityElementImpl implements ExtensionConstants,
+ Schema {
+
+ private Element element;
+ private QName name;
+ private Stack importedSchemaStack= new Stack();
+
+ public SchemaImpl() {
+ type = SCHEMA;
+ }
+
+ public Stack getImportedSchemaStack() {
+ return importedSchemaStack;
+ }
+
+ public void setImportedSchemaStack(Stack importedSchemaStack) {
+ this.importedSchemaStack = importedSchemaStack;
+ }
+
+ public QName getName() {
+ return name;
+ }
+
+ public void setName(QName name) {
+ this.name = name;
+ }
+
+ /**
+ * @return The schema Element as a DOM element
+ */
+ public Element getElement() {
+ return element;
+ }
+
+ /**
+ * Sets the Schema Element as a DOM Element.
+ *
+ * @param elelment
+ */
+ public void setElement(Element elelment) {
+ this.element = elelment;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/extensions/impl/SchemaImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ComponentImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ComponentImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ComponentImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ComponentImpl.java Thu Sep 15 11:52:11 2005
@@ -1,180 +1,180 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.Component;
-import org.apache.wsdl.WSDLConstants;
-import org.apache.wsdl.WSDLExtensibilityAttribute;
-import org.apache.wsdl.WSDLExtensibilityElement;
-import org.w3c.dom.Document;
-
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @author Chathura Herath
- */
-public class ComponentImpl implements WSDLConstants, Component {
- /**
- * Field componentProperties
- */
- protected HashMap componentProperties = new HashMap();
-
- /**
- * Field documentation
- */
- protected Document documentation = null;
-
- /**
- * Field Namespace Qualified elements that can be sticked in the component.
- */
- private List elements = null;
-
- /**
- * Field Namespace Qualified attrebutes that can be sticked int eh
- * component.
- */
- private List attributes = null;
-
- /**
- * Metadata
- */
- private HashMap metadata = null;
-
- /**
- * Returns the Documentation Element as a <code>Document</code>.
- *
- * @return documentation
- */
- public Document getDocumentation() {
- return documentation;
- }
-
- /**
- * Will set the Documentation element for the Component.
- *
- * @param documentation Component Docuemntation
- */
- public void setDocumentation(Document documentation) {
- this.documentation = documentation;
- }
-
- /**
- * Returns the properties that are specific to this WSDL Component.
- *
- * @return
- */
- public HashMap getComponentProperties() {
- return componentProperties;
- }
-
- /**
- * Sets the properties of the Component if any.
- *
- * @param properties
- */
- public void setComponentProperties(HashMap properties) {
- this.componentProperties = properties;
- }
-
- /**
- * Will set the property keyed with the relavent key
- *
- * @param key Key in the map
- * @param obj Object to be put
- */
- public void setComponentProperty(Object key, Object obj) {
- this.componentProperties.put(key, obj);
- }
-
- /**
- * Gets the component property
- *
- * @param key key for the map search.
- * @return
- */
- public Object getComponentProperty(Object key) {
- return this.componentProperties.get(key);
- }
-
- /**
- * Adds the <code>Element</code> to this Component.
- *
- * @param element
- */
- public void addExtensibilityElement(WSDLExtensibilityElement element) {
- if (null == this.elements) {
- this.elements = new LinkedList();
- }
- if (null == element)
- return;
- this.elements.add(element);
-
- }
-
- /**
- * Returns the Extensibility Elements of this component;
- *
- * @return List of <code>Element</code> s
- */
- public List getExtensibilityElements() {
- if (null == this.elements) {
- this.elements = new LinkedList();
- }
- return this.elements;
- }
-
- /**
- * Adds the <code>ExtensibilityAttribute</code> as a attrebute of this
- * Component.
- *
- * @param attribute <code>ExtensibilityAttribute</code>
- */
- public void addExtensibleAttributes(WSDLExtensibilityAttribute attribute) {
- if (null == this.attributes) {
- this.attributes = new LinkedList();
- }
- if (null == attribute)
- return;
- this.attributes.add(attribute);
- }
-
- /**
- * Returns a <code>List</code> of ExtensibleAttributes of this component.
- *
- * @return <code>List</code>
- */
- public List getExtensibilityAttributes() {
- if (null == this.attributes) {
- this.attributes = new LinkedList();
- }
- return this.attributes;
- }
-
- /**
- * Get access to the metadata bag associated with this component (which
- * contains anything we feel like hanging off it)
- *
- * @return the metadata Map.
- */
- public Map getMetadataBag() {
- if (metadata == null)
- metadata = new HashMap();
- return metadata;
- }
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.Component;
+import org.apache.wsdl.WSDLConstants;
+import org.apache.wsdl.WSDLExtensibilityAttribute;
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.w3c.dom.Document;
+
+import java.util.HashMap;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author Chathura Herath
+ */
+public class ComponentImpl implements WSDLConstants, Component {
+ /**
+ * Field componentProperties
+ */
+ protected HashMap componentProperties = new HashMap();
+
+ /**
+ * Field documentation
+ */
+ protected Document documentation = null;
+
+ /**
+ * Field Namespace Qualified elements that can be sticked in the component.
+ */
+ private List elements = null;
+
+ /**
+ * Field Namespace Qualified attrebutes that can be sticked int eh
+ * component.
+ */
+ private List attributes = null;
+
+ /**
+ * Metadata
+ */
+ private HashMap metadata = null;
+
+ /**
+ * Returns the Documentation Element as a <code>Document</code>.
+ *
+ * @return documentation
+ */
+ public Document getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Will set the Documentation element for the Component.
+ *
+ * @param documentation Component Docuemntation
+ */
+ public void setDocumentation(Document documentation) {
+ this.documentation = documentation;
+ }
+
+ /**
+ * Returns the properties that are specific to this WSDL Component.
+ *
+ * @return
+ */
+ public HashMap getComponentProperties() {
+ return componentProperties;
+ }
+
+ /**
+ * Sets the properties of the Component if any.
+ *
+ * @param properties
+ */
+ public void setComponentProperties(HashMap properties) {
+ this.componentProperties = properties;
+ }
+
+ /**
+ * Will set the property keyed with the relavent key
+ *
+ * @param key Key in the map
+ * @param obj Object to be put
+ */
+ public void setComponentProperty(Object key, Object obj) {
+ this.componentProperties.put(key, obj);
+ }
+
+ /**
+ * Gets the component property
+ *
+ * @param key key for the map search.
+ * @return
+ */
+ public Object getComponentProperty(Object key) {
+ return this.componentProperties.get(key);
+ }
+
+ /**
+ * Adds the <code>Element</code> to this Component.
+ *
+ * @param element
+ */
+ public void addExtensibilityElement(WSDLExtensibilityElement element) {
+ if (null == this.elements) {
+ this.elements = new LinkedList();
+ }
+ if (null == element)
+ return;
+ this.elements.add(element);
+
+ }
+
+ /**
+ * Returns the Extensibility Elements of this component;
+ *
+ * @return List of <code>Element</code> s
+ */
+ public List getExtensibilityElements() {
+ if (null == this.elements) {
+ this.elements = new LinkedList();
+ }
+ return this.elements;
+ }
+
+ /**
+ * Adds the <code>ExtensibilityAttribute</code> as a attrebute of this
+ * Component.
+ *
+ * @param attribute <code>ExtensibilityAttribute</code>
+ */
+ public void addExtensibleAttributes(WSDLExtensibilityAttribute attribute) {
+ if (null == this.attributes) {
+ this.attributes = new LinkedList();
+ }
+ if (null == attribute)
+ return;
+ this.attributes.add(attribute);
+ }
+
+ /**
+ * Returns a <code>List</code> of ExtensibleAttributes of this component.
+ *
+ * @return <code>List</code>
+ */
+ public List getExtensibilityAttributes() {
+ if (null == this.attributes) {
+ this.attributes = new LinkedList();
+ }
+ return this.attributes;
+ }
+
+ /**
+ * Get access to the metadata bag associated with this component (which
+ * contains anything we feel like hanging off it)
+ *
+ * @return the metadata Map.
+ */
+ public Map getMetadataBag() {
+ if (metadata == null)
+ metadata = new HashMap();
+ return metadata;
+ }
}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ComponentImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ExtensibleComponentImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ExtensibleComponentImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ExtensibleComponentImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ExtensibleComponentImpl.java Thu Sep 15 11:52:11 2005
@@ -1,101 +1,101 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.ExtensibleComponent;
-import org.apache.wsdl.WSDLFeature;
-import org.apache.wsdl.WSDLProperty;
-
-import java.util.LinkedList;
-import java.util.List;
-
-
-/**
- * @author chathura@opensource.lk
- */
-public class ExtensibleComponentImpl extends ComponentImpl
- implements ExtensibleComponent {
- /**
- * Field features
- */
- private List features = null;
-
- /**
- * Field properties
- */
- private List properties = null;
-
-
- /**
- * Will add a <code>WSDLFeature</code> to the feature list.
- * If feature is null it will not be added.
- * <code>ExtensibleComponent</code>
- *
- * @param feature
- */
- public void addFeature(WSDLFeature feature) {
- if (null == this.features) {
- this.features = new LinkedList();
- }
- if (null == feature) {
- return;
- }
- this.features.add(feature);
- }
-
- /**
- * Will return the <code>WSDLFeature</code>s. If there aren't
- * any features an empty list will be returned.
- *
- * @return
- */
- public List getFeatures() {
- if (null == this.features) {
- return new LinkedList();
- }
- return this.features;
- }
-
- /**
- * Will add the property to the component properties. If the property is null it will
- * not be added.
- *
- * @param wsdlProperty
- */
- public void addProperty(WSDLProperty wsdlProperty) {
- if (null == this.properties) {
- this.properties = new LinkedList();
- }
- if (null == wsdlProperty) {
- return;
- }
- this.features.add(wsdlProperty);
- }
-
- /**
- * Returns the Component Properties. If none exist an empty list will be returned.
- *
- * @return
- */
- public List getProperties() {
- if (null == this.properties) {
- return new LinkedList();
- }
- return this.properties;
- }
-
-
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.ExtensibleComponent;
+import org.apache.wsdl.WSDLFeature;
+import org.apache.wsdl.WSDLProperty;
+
+import java.util.LinkedList;
+import java.util.List;
+
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class ExtensibleComponentImpl extends ComponentImpl
+ implements ExtensibleComponent {
+ /**
+ * Field features
+ */
+ private List features = null;
+
+ /**
+ * Field properties
+ */
+ private List properties = null;
+
+
+ /**
+ * Will add a <code>WSDLFeature</code> to the feature list.
+ * If feature is null it will not be added.
+ * <code>ExtensibleComponent</code>
+ *
+ * @param feature
+ */
+ public void addFeature(WSDLFeature feature) {
+ if (null == this.features) {
+ this.features = new LinkedList();
+ }
+ if (null == feature) {
+ return;
+ }
+ this.features.add(feature);
+ }
+
+ /**
+ * Will return the <code>WSDLFeature</code>s. If there aren't
+ * any features an empty list will be returned.
+ *
+ * @return
+ */
+ public List getFeatures() {
+ if (null == this.features) {
+ return new LinkedList();
+ }
+ return this.features;
+ }
+
+ /**
+ * Will add the property to the component properties. If the property is null it will
+ * not be added.
+ *
+ * @param wsdlProperty
+ */
+ public void addProperty(WSDLProperty wsdlProperty) {
+ if (null == this.properties) {
+ this.properties = new LinkedList();
+ }
+ if (null == wsdlProperty) {
+ return;
+ }
+ this.features.add(wsdlProperty);
+ }
+
+ /**
+ * Returns the Component Properties. If none exist an empty list will be returned.
+ *
+ * @return
+ */
+ public List getProperties() {
+ if (null == this.properties) {
+ return new LinkedList();
+ }
+ return this.properties;
+ }
+
+
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/ExtensibleComponentImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/MessageReferenceImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/MessageReferenceImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/MessageReferenceImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/MessageReferenceImpl.java Thu Sep 15 11:52:11 2005
@@ -1,104 +1,104 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.MessageReference;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author Chathura Herath
- */
-public class MessageReferenceImpl extends ExtensibleComponentImpl
- implements MessageReference {
-
- // Referes to the MEP the Message relates to.
-
- /**
- * Field messageLabel
- */
- private String messageLabel;
-
- // Can be "in" or "out" depending on the element name being "input" or "output" respectively;
-
- /**
- * Field Direction
- */
- private String Direction;
-
- // TODO Do we need it "Message content model"
-
- /**
- * Field element
- */
- private QName element;
-
- /**
- * Method getDirection
- *
- * @return
- */
- public String getDirection() {
- return Direction;
- }
-
- /**
- * Method setDirection
- *
- * @param direction
- */
- public void setDirection(String direction) {
- Direction = direction;
- }
-
- /**
- * Returns an Element which refers to the actual message that will get transported. This Element
- * Abstracts all the Message Parts that was defined in the WSDL 1.1.
- *
- * @return
- */
- public QName getElement() {
- return element;
- }
-
- /**
- * Sets the Element that will Abstract the actual message. All the parts defined in WSDL 1.1
- * per message should be Encapsulated in this Element.
- *
- * @param element
- */
- public void setElement(QName element) {
- this.element = element;
- }
-
- /**
- * Method getMessageLabel
- *
- * @return
- */
- public String getMessageLabel() {
- return messageLabel;
- }
-
- /**
- * Method setMessageLabel
- *
- * @param messageLabel
- */
- public void setMessageLabel(String messageLabel) {
- this.messageLabel = messageLabel;
- }
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.MessageReference;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author Chathura Herath
+ */
+public class MessageReferenceImpl extends ExtensibleComponentImpl
+ implements MessageReference {
+
+ // Referes to the MEP the Message relates to.
+
+ /**
+ * Field messageLabel
+ */
+ private String messageLabel;
+
+ // Can be "in" or "out" depending on the element name being "input" or "output" respectively;
+
+ /**
+ * Field Direction
+ */
+ private String Direction;
+
+ // TODO Do we need it "Message content model"
+
+ /**
+ * Field element
+ */
+ private QName element;
+
+ /**
+ * Method getDirection
+ *
+ * @return
+ */
+ public String getDirection() {
+ return Direction;
+ }
+
+ /**
+ * Method setDirection
+ *
+ * @param direction
+ */
+ public void setDirection(String direction) {
+ Direction = direction;
+ }
+
+ /**
+ * Returns an Element which refers to the actual message that will get transported. This Element
+ * Abstracts all the Message Parts that was defined in the WSDL 1.1.
+ *
+ * @return
+ */
+ public QName getElement() {
+ return element;
+ }
+
+ /**
+ * Sets the Element that will Abstract the actual message. All the parts defined in WSDL 1.1
+ * per message should be Encapsulated in this Element.
+ *
+ * @param element
+ */
+ public void setElement(QName element) {
+ this.element = element;
+ }
+
+ /**
+ * Method getMessageLabel
+ *
+ * @return
+ */
+ public String getMessageLabel() {
+ return messageLabel;
+ }
+
+ /**
+ * Method setMessageLabel
+ *
+ * @param messageLabel
+ */
+ public void setMessageLabel(String messageLabel) {
+ this.messageLabel = messageLabel;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/MessageReferenceImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WDSLPropertyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WDSLPropertyImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WDSLPropertyImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WDSLPropertyImpl.java Thu Sep 15 11:52:11 2005
@@ -1,96 +1,96 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.WSDLProperty;
-
-/**
- * @author chathura@opensource.lk
- */
-public class WDSLPropertyImpl extends ComponentImpl implements WSDLProperty {
- /**
- * Field uri
- */
- private String uri;
-
- // TODO replace with the data binding object structure
-
- /**
- * Field constraint
- */
- private Object constraint;
-
- // TODO replace with the data binding object structure
-
- /**
- * Field value
- */
- private Object value;
-
- /**
- * Method getConstraint
- *
- * @return
- */
- public Object getConstraint() {
- return constraint;
- }
-
- /**
- * Method setConstraint
- *
- * @param constraint
- */
- public void setConstraint(Object constraint) {
- this.constraint = constraint;
- }
-
- /**
- * Method getName
- *
- * @return
- */
- public String getName() {
- return uri;
- }
-
- /**
- * Method setName
- *
- * @param uri
- */
- public void setName(String uri) {
- this.uri = uri;
- }
-
- /**
- * Method getValue
- *
- * @return
- */
- public Object getValue() {
- return value;
- }
-
- /**
- * Method setValue
- *
- * @param value
- */
- public void setValue(Object value) {
- this.value = value;
- }
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.WSDLProperty;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class WDSLPropertyImpl extends ComponentImpl implements WSDLProperty {
+ /**
+ * Field uri
+ */
+ private String uri;
+
+ // TODO replace with the data binding object structure
+
+ /**
+ * Field constraint
+ */
+ private Object constraint;
+
+ // TODO replace with the data binding object structure
+
+ /**
+ * Field value
+ */
+ private Object value;
+
+ /**
+ * Method getConstraint
+ *
+ * @return
+ */
+ public Object getConstraint() {
+ return constraint;
+ }
+
+ /**
+ * Method setConstraint
+ *
+ * @param constraint
+ */
+ public void setConstraint(Object constraint) {
+ this.constraint = constraint;
+ }
+
+ /**
+ * Method getName
+ *
+ * @return
+ */
+ public String getName() {
+ return uri;
+ }
+
+ /**
+ * Method setName
+ *
+ * @param uri
+ */
+ public void setName(String uri) {
+ this.uri = uri;
+ }
+
+ /**
+ * Method getValue
+ *
+ * @return
+ */
+ public Object getValue() {
+ return value;
+ }
+
+ /**
+ * Method setValue
+ *
+ * @param value
+ */
+ public void setValue(Object value) {
+ this.value = value;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WDSLPropertyImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingFaultImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingFaultImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingFaultImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingFaultImpl.java Thu Sep 15 11:52:11 2005
@@ -1,49 +1,49 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.WSDLBindingFault;
-
-import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- */
-public class WSDLBindingFaultImpl extends ExtensibleComponentImpl
- implements WSDLBindingFault {
- /**
- * Field ref
- */
- private QName ref;
-
- /**
- * Method getRef
- *
- * @return
- */
- public QName getRef() {
- return ref;
- }
-
- /**
- * Method setRef
- *
- * @param ref
- */
- public void setRef(QName ref) {
- this.ref = ref;
- }
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.WSDLBindingFault;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class WSDLBindingFaultImpl extends ExtensibleComponentImpl
+ implements WSDLBindingFault {
+ /**
+ * Field ref
+ */
+ private QName ref;
+
+ /**
+ * Method getRef
+ *
+ * @return
+ */
+ public QName getRef() {
+ return ref;
+ }
+
+ /**
+ * Method setRef
+ *
+ * @param ref
+ */
+ public void setRef(QName ref) {
+ this.ref = ref;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingFaultImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingImpl.java Thu Sep 15 11:52:11 2005
@@ -1,174 +1,174 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.WSDLBinding;
-import org.apache.wsdl.WSDLBindingFault;
-import org.apache.wsdl.WSDLBindingOperation;
-import org.apache.wsdl.WSDLInterface;
-
-import javax.xml.namespace.QName;
-import java.util.HashMap;
-
-/**
- * @author chathura@opensource.lk
- */
-public class WSDLBindingImpl extends ExtensibleComponentImpl
- implements WSDLBinding {
- /**
- * Field name
- */
- private QName name;
-
- /**
- * Field boundInterface
- */
- private WSDLInterface boundInterface;
-
- /**
- * Field bindingFaults
- */
- private HashMap bindingFaults = new HashMap();
-
- /**
- * Field bindingOperations
- */
- private HashMap bindingOperations = new HashMap();
-
- /**
- * Method getBoundInterface
- *
- * @return WSDLInterface
- */
- public WSDLInterface getBoundInterface() {
- return boundInterface;
- }
-
- /**
- * Method setBoundInterface
- *
- * @param boundInterface
- */
- public void setBoundInterface(WSDLInterface boundInterface) {
- this.boundInterface = boundInterface;
- }
-
- /**
- * Method getName
- *
- * @return QName
- */
- public QName getName() {
- return name;
- }
-
- /**
- * Method setName
- *
- * @param name
- */
- public void setName(QName name) {
- this.name = name;
- }
-
- /**
- * Method getTargetNameSpace
- *
- * @return String
- */
- public String getTargetNameSpace() {
- return this.name.getNamespaceURI();
- }
-
- /**
- * Method getBindingFaults
- *
- * @return Hashmap
- */
- public HashMap getBindingFaults() {
- return bindingFaults;
- }
-
- /**
- * Method setBindingFaults
- *
- * @param bindingFaults
- */
- public void setBindingFaults(HashMap bindingFaults) {
- this.bindingFaults = bindingFaults;
- }
-
- /**
- * Method getBindingOperations
- *
- * @return Hashmap
- */
- public HashMap getBindingOperations() {
- return bindingOperations;
- }
-
- /**
- * Method setBindingOperations
- *
- * @param bindingOperations
- */
- public void setBindingOperations(HashMap bindingOperations) {
- this.bindingOperations = bindingOperations;
- }
-
- /**
- * Method addBindingOperation
- *
- * @param bindingOperation
- */
- public void addBindingOperation(WSDLBindingOperation bindingOperation) {
- if (null != bindingOperation) {
- this.bindingOperations.put(bindingOperation.getName(),
- bindingOperation);
- }
- }
-
- /**
- * Method getBindingOperation
- *
- * @param qName
- * @return WSDLBindingOperation
- */
- public WSDLBindingOperation getBindingOperation(QName qName) {
- return (WSDLBindingOperation) this.bindingOperations.get(qName);
- }
-
- /**
- * Method addBindingFaults
- *
- * @param bindingFault
- */
- public void addBindingFaults(WSDLBindingFault bindingFault) {
- if (null != bindingFault) {
- this.bindingFaults.put(bindingFault.getRef(), bindingFault);
- }
- }
-
- /**
- * Method getBindingFault
- *
- * @param ref
- * @return WSDLBindingFault
- */
- public WSDLBindingFault getBindingFault(QName ref) {
- return (WSDLBindingFault) this.bindingFaults.get(ref);
- }
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.WSDLBinding;
+import org.apache.wsdl.WSDLBindingFault;
+import org.apache.wsdl.WSDLBindingOperation;
+import org.apache.wsdl.WSDLInterface;
+
+import javax.xml.namespace.QName;
+import java.util.HashMap;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class WSDLBindingImpl extends ExtensibleComponentImpl
+ implements WSDLBinding {
+ /**
+ * Field name
+ */
+ private QName name;
+
+ /**
+ * Field boundInterface
+ */
+ private WSDLInterface boundInterface;
+
+ /**
+ * Field bindingFaults
+ */
+ private HashMap bindingFaults = new HashMap();
+
+ /**
+ * Field bindingOperations
+ */
+ private HashMap bindingOperations = new HashMap();
+
+ /**
+ * Method getBoundInterface
+ *
+ * @return WSDLInterface
+ */
+ public WSDLInterface getBoundInterface() {
+ return boundInterface;
+ }
+
+ /**
+ * Method setBoundInterface
+ *
+ * @param boundInterface
+ */
+ public void setBoundInterface(WSDLInterface boundInterface) {
+ this.boundInterface = boundInterface;
+ }
+
+ /**
+ * Method getName
+ *
+ * @return QName
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * Method setName
+ *
+ * @param name
+ */
+ public void setName(QName name) {
+ this.name = name;
+ }
+
+ /**
+ * Method getTargetNameSpace
+ *
+ * @return String
+ */
+ public String getTargetNameSpace() {
+ return this.name.getNamespaceURI();
+ }
+
+ /**
+ * Method getBindingFaults
+ *
+ * @return Hashmap
+ */
+ public HashMap getBindingFaults() {
+ return bindingFaults;
+ }
+
+ /**
+ * Method setBindingFaults
+ *
+ * @param bindingFaults
+ */
+ public void setBindingFaults(HashMap bindingFaults) {
+ this.bindingFaults = bindingFaults;
+ }
+
+ /**
+ * Method getBindingOperations
+ *
+ * @return Hashmap
+ */
+ public HashMap getBindingOperations() {
+ return bindingOperations;
+ }
+
+ /**
+ * Method setBindingOperations
+ *
+ * @param bindingOperations
+ */
+ public void setBindingOperations(HashMap bindingOperations) {
+ this.bindingOperations = bindingOperations;
+ }
+
+ /**
+ * Method addBindingOperation
+ *
+ * @param bindingOperation
+ */
+ public void addBindingOperation(WSDLBindingOperation bindingOperation) {
+ if (null != bindingOperation) {
+ this.bindingOperations.put(bindingOperation.getName(),
+ bindingOperation);
+ }
+ }
+
+ /**
+ * Method getBindingOperation
+ *
+ * @param qName
+ * @return WSDLBindingOperation
+ */
+ public WSDLBindingOperation getBindingOperation(QName qName) {
+ return (WSDLBindingOperation) this.bindingOperations.get(qName);
+ }
+
+ /**
+ * Method addBindingFaults
+ *
+ * @param bindingFault
+ */
+ public void addBindingFaults(WSDLBindingFault bindingFault) {
+ if (null != bindingFault) {
+ this.bindingFaults.put(bindingFault.getRef(), bindingFault);
+ }
+ }
+
+ /**
+ * Method getBindingFault
+ *
+ * @param ref
+ * @return WSDLBindingFault
+ */
+ public WSDLBindingFault getBindingFault(QName ref) {
+ return (WSDLBindingFault) this.bindingFaults.get(ref);
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java Thu Sep 15 11:52:11 2005
@@ -1,76 +1,76 @@
-/*
- * Copyright 2004,2005 The 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.wsdl.impl;
-
-import org.apache.wsdl.WSDLBindingMessageReference;
-
-/**
- * @author chathura@opensource.lk
- */
-public class WSDLBindingMessageReferenceImpl extends ExtensibleComponentImpl
- implements WSDLBindingMessageReference {
-
- // Referes to the MEP the Message relates to.
-
- /**
- * Field messageLabel
- */
- private String messageLabel;
-
- // Can be "in" or "out" depending on the element name being "input" or
- // "output" respectively;
-
- /**
- * Field Direction
- */
- private String Direction;
-
- /**
- * Method getDirection
- *
- * @return
- */
- public String getDirection() {
- return Direction;
- }
-
- /**
- * Method setDirection
- *
- * @param direction
- */
- public void setDirection(String direction) {
- Direction = direction;
- }
-
- /**
- * Method getMessageLabel
- *
- * @return
- */
- public String getMessageLabel() {
- return messageLabel;
- }
-
- /**
- * Method setMessageLabel
- *
- * @param messageLabel
- */
- public void setMessageLabel(String messageLabel) {
- this.messageLabel = messageLabel;
- }
-}
+/*
+ * Copyright 2004,2005 The 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.wsdl.impl;
+
+import org.apache.wsdl.WSDLBindingMessageReference;
+
+/**
+ * @author chathura@opensource.lk
+ */
+public class WSDLBindingMessageReferenceImpl extends ExtensibleComponentImpl
+ implements WSDLBindingMessageReference {
+
+ // Referes to the MEP the Message relates to.
+
+ /**
+ * Field messageLabel
+ */
+ private String messageLabel;
+
+ // Can be "in" or "out" depending on the element name being "input" or
+ // "output" respectively;
+
+ /**
+ * Field Direction
+ */
+ private String Direction;
+
+ /**
+ * Method getDirection
+ *
+ * @return
+ */
+ public String getDirection() {
+ return Direction;
+ }
+
+ /**
+ * Method setDirection
+ *
+ * @param direction
+ */
+ public void setDirection(String direction) {
+ Direction = direction;
+ }
+
+ /**
+ * Method getMessageLabel
+ *
+ * @return
+ */
+ public String getMessageLabel() {
+ return messageLabel;
+ }
+
+ /**
+ * Method setMessageLabel
+ *
+ * @param messageLabel
+ */
+ public void setMessageLabel(String messageLabel) {
+ this.messageLabel = messageLabel;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java
------------------------------------------------------------------------------
svn:eol-style = native