Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 17183 invoked from network); 15 Feb 2005 06:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Feb 2005 06:31:12 -0000 Received: (qmail 13834 invoked by uid 500); 15 Feb 2005 06:30:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 12812 invoked by uid 500); 15 Feb 2005 06:30:53 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 12763 invoked by uid 99); 15 Feb 2005 06:30:53 -0000 X-ASF-Spam-Status: No, hits=-9.3 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,OPTING_OUT X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 14 Feb 2005 22:30:49 -0800 Received: (qmail 14476 invoked by uid 65534); 15 Feb 2005 06:23:27 -0000 Message-ID: <20050215062327.14468.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Tue, 15 Feb 2005 06:23:26 -0000 Subject: svn commit: r153902 [5/8] - in webservices/axis/trunk/java/dev/scratch/prototype2/src: java/org/apache/axis/addressing/ java/org/apache/axis/addressing/miheaders/ java/org/apache/axis/addressing/om/ java/org/apache/axis/clientapi/ java/org/apache/axis/context/ java/org/apache/axis/deployment/ java/org/apache/axis/deployment/listener/ java/org/apache/axis/deployment/repository/utill/ java/org/apache/axis/description/ java/org/apache/axis/engine/ java/org/apache/axis/handlers/ java/org/apache/axis/om/ java/org/apache/axis/om/impl/llom/ java/org/apache/axis/om/impl/llom/builder/ java/org/apache/axis/om/impl/llom/factory/ java/org/apache/axis/om/impl/llom/serialize/ java/org/apache/axis/om/impl/llom/traverse/ java/org/apache/axis/phaseresolver/ java/org/apache/axis/providers/ java/org/apache/axis/receivers/ java/org/apache/axis/transport/ java/org/apache/axis/transport/http/ java/org/apache/axis/wsdl/wsdltowom/ java/org/apache/wsdl/ java/org/apache/wsdl/impl/ java/org/apache/wsdl/util/ test/org/apache/axis/ test/org/apache/axis/addressing/ test/org/apache/axis/addressing/miheaders/ test/org/apache/axis/clientapi/ test/org/apache/axis/deployment/ test/org/apache/axis/description/ test/org/apache/axis/encoding/ test/org/apache/axis/engine/ test/org/apache/axis/integration/ test/org/apache/axis/misc/ test/org/apache/axis/om/ test/org/apache/axis/om/builder/ test/org/apache/axis/om/builder/dummy/ test/org/apache/axis/om/factory/ test/org/apache/axis/om/impl/builder/ test/org/apache/axis/om/impl/seriliazer/ test/org/apache/axis/om/impl/streamwrapper/ test/org/apache/axis/om/impl/traverse/ test/org/apache/axis/testUtils/ test/org/apache/axis/transport/ test/org/apache/wsdl/ To: axis-cvs@ws.apache.org From: chinthaka@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/ExtensibleComponent.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java?view=3Ddiff&r1= =3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/ExtensibleComponent.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/ExtensibleComponent.java Mon Feb 14 22:22:34 2005 @@ -20,14 +20,14 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface ExtensibleComponent extends Component{ +public interface ExtensibleComponent extends Component { /** * Will add a WSDLFeature to the feature list. - * If feature is null it will not be added.=20 - *=20 + * If feature is null it will not be added. + *

* ExtensibleComponent + * * @param feature */ public void addFeature(WSDLFeature feature); @@ -35,7 +35,7 @@ /** * Will return the WSDLFeatures. If there aren't * any features an empty list will be returned. - * =20 + * * @return */ public List getFeatures(); @@ -43,12 +43,14 @@ /** * Wll add the property to the component properties. If the property i= s null it will * not be added. + * * @param wsdlProperty */ public void addPorperty(WSDLProperty wsdlProperty); =20 /** * Returns the Component Properties. If none exist an empty list will = be returned. + * * @return */ public List getProperties(); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/ExtensionElement.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/ExtensionElement.java?view=3Ddiff&r1=3D= 153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/ExtensionElement.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/ExtensionElement.java Mon Feb 14 22:22:34 2005 @@ -19,14 +19,13 @@ =20 /** * @author chathura@opensource.lk - * */ public interface ExtensionElement { public Element getElement(); =20 public void setElement(Element element); - =20 + public boolean isRequired(); - =20 + public void setRequired(boolean required); } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/FaultReference.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/FaultReference.java?view=3Ddiff&r1=3D15= 3901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/FaultReference.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/FaultReference.java Mon Feb 14 22:22:34 2005 @@ -17,17 +17,18 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface FaultReference extends Component{ +public interface FaultReference extends Component { /** * Returns the direction of the Fault according the MEP + * * @return */ public String getDirection(); =20 /** * Sets the direction of the Fault. + * * @param direction */ public void setDirection(String direction); @@ -38,12 +39,14 @@ =20 /** * Returns the Fault reference. + * * @return */ public String getRef(); =20 /** * Sets the Fault reference. + * * @param ref */ public void setRef(String ref); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/MessageReference.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/MessageReference.java?view=3Ddiff&r1=3D= 153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/MessageReference.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/MessageReference.java Mon Feb 14 22:22:34 2005 @@ -19,18 +19,17 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface MessageReference extends ExtensibleComponent{ +public interface MessageReference extends ExtensibleComponent { public String getDirection(); =20 public void setDirection(String direction); =20 =20 - /** - * This Element refers to the actual message that will get transported. T= his Element=20 - * Abstracts all the Message Parts that was defined in the WSDL 1.1. - */ + /** + * This Element refers to the actual message that will get transported= . This Element + * Abstracts all the Message Parts that was defined in the WSDL 1.1. + */ public QName getElement(); =20 public void setElement(QName element); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLBinding.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLBinding.java?view=3Ddiff&r1=3D15390= 1&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBinding.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBinding.java Mon Feb 14 22:22:34 2005 @@ -21,9 +21,8 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLBinding extends ExtensibleComponent{ +public interface WSDLBinding extends ExtensibleComponent { public WSDLInterface getBoundInterface(); =20 public void setBoundInterface(WSDLInterface boundInterface); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLBindingFault.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLBindingFault.java?view=3Ddiff&r1=3D= 153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingFault.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingFault.java Mon Feb 14 22:22:34 2005 @@ -19,7 +19,6 @@ =20 /** * @author chathura@opensource.lk - * */ public interface WSDLBindingFault { public QName getRef(); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLBindingMessageReference.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLBindingMessageReference.java?view= =3Ddiff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingMessageReference.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingMessageReference.java Mon Feb 14 22:22:34 2005 @@ -17,9 +17,8 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLBindingMessageReference extends ExtensibleComponent{ +public interface WSDLBindingMessageReference extends ExtensibleComponent { public String getDirection(); =20 public void setDirection(String direction); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLBindingOperation.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLBindingOperation.java?view=3Ddiff&r= 1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingOperation.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLBindingOperation.java Mon Feb 14 22:22:34 2005 @@ -20,11 +20,10 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLBindingOperation extends ExtensibleComponent{ - =20 - =20 +public interface WSDLBindingOperation extends ExtensibleComponent { + + public WSDLBindingMessageReference getInput(); =20 public void setInput(WSDLBindingMessageReference input); @@ -36,8 +35,8 @@ public WSDLBindingMessageReference getOutput(); =20 public void setOutput(WSDLBindingMessageReference output); - =20 - public QName getName() ; - =20 - public void setName(QName name) ; + + public QName getName(); + + public void setName(QName name); } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLConstants.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLConstants.java?view=3Ddiff&r1=3D153= 901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLConstants.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLConstants.java Mon Feb 14 22:22:34 2005 @@ -17,24 +17,23 @@ =20 /** * @author chathura@opensource.lk - * */ public interface WSDLConstants { =20 public static final String WSDL2_0_NAMESPACE =3D - "http://www.w3.org/2004/03/wsdl"; + "http://www.w3.org/2004/03/wsdl"; =20 public static final String WSDL1_1_NAMESPACE =3D - "http://schemas.xmlsoap.org/wsdl/"; + "http://schemas.xmlsoap.org/wsdl/"; =20 public static final String[] WSDL_NAMESPACES =3D - { WSDL2_0_NAMESPACE, WSDL1_1_NAMESPACE }; + {WSDL2_0_NAMESPACE, WSDL1_1_NAMESPACE}; =20 - //TODO Verify weather the value is right with the spec. + //TODO Verify weather the value is right with the spec. =09 public static final String WSDL_MESSAGE_DIRECTION_IN =3D "in"; - =20 - //TODO Verify weather the value is right with the spec.=20 + + //TODO Verify weather the value is right with the spec. =20 public static final String WSDL_MESSAGE_DIRECTION_OUT =3D "out"; =20 @@ -43,20 +42,20 @@ ////////////////////////////////////////////////////////////////// =20 public static final String MEP_URI_IN_ONLY =3D "http://www.w3.org/2004= /08/wsdl/in-only"; - =20 - public static final String MEP_URI_ROBUST_IN_ONLY =3D "http://www.w3.o= rg/2004/08/wsdl/robust-in-only"; = =20 - =20 + + public static final String MEP_URI_ROBUST_IN_ONLY =3D "http://www.w3.o= rg/2004/08/wsdl/robust-in-only"; + public static final String MEP_URI_IN_OUT =3D "http://www.w3.org/2004/= 08/wsdl/in-out"; - =20 + public static final String MEP_URI_IN_OPTIONAL_OUT =3D "http://www.w3.= org/2004/08/wsdl/in-opt-out"; - =20 + public static final String MEP_URI_OUT_ONLY =3D "http://www.w3.org/200= 4/08/wsdl/out-only"; - =20 + public static final String MEP_URI_ROBUST_OUT_ONLY =3D "http://www.w3.= org/2004/08/wsdl/robust-out-only"; - =20 + public static final String MEP_URI_OUT_IN =3D "http://www.w3.org/2004/= 08/wsdl/out-in"; - =20 + public static final String MEP_URI_OUT_OPTIONL_IN =3D "http://www.w3.o= rg/2004/08/wsdl/out-opt-in"; - =20 - =20 + + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLDescription.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLDescription.java?view=3Ddiff&r1=3D1= 53901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLDescription.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLDescription.java Mon Feb 14 22:22:34 2005 @@ -22,12 +22,11 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLDescription extends Component{ +public interface WSDLDescription extends Component { /** * Returns a Map of WSDLBindings Objects keyed by the QName - * of the Binding.=20 + * of the Binding. */ public HashMap getBindings(); =20 @@ -39,8 +38,9 @@ /** * The WSDLBinding Will be added to the map keyed with its own QName. * If the WSDLBinding is null it will not be added. - * If the WSDLBinding is not null and Binding name is null then=20 + * If the WSDLBinding is not null and Binding name is null then * WSDLProcessingException will be thrown + * * @param binding WSDLBinding Object */ public void addBinding(WSDLBinding binding); @@ -48,6 +48,7 @@ /** * Retrives the WSDLBinding by its QName. Wil return null * if WSDLBinding is not found. + * * @param qName The QName of the Binding. */ public WSDLBinding getBinding(QName qName); @@ -56,15 +57,17 @@ * The Interface component will be added to the map keyed with its own= name. * If the Interface is null it will not be added. * If the interface name is null an WSDLProcessingException will be th= rown + * * @param interfaceComponent */ public void addInterface(WSDLInterface interfaceComponent); =20 /** - * The Interface Component will be returned if it exsists,=20 + * The Interface Component will be returned if it exsists, * otherwise null will be returned. + * * @param qName qName of the Interface. - * @return The Interface Component with the relavent QName=20 + * @return The Interface Component with the relavent QName */ public WSDLInterface getInterface(QName qName); =20 @@ -74,8 +77,9 @@ =20 /** * Will return the WSDLService if found otherwise return= null. + * * @param qName QName of the Service - * @return The Service with the relavent QName=20 + * @return The Service with the relavent QName */ public WSDLService getService(QName qName); =20 @@ -84,6 +88,7 @@ * If object is null it will not be added. * If the WSDLService name is null a WSDLProcessing= Exception * will be thrown.(its required) + * * @param service */ public void addService(WSDLService service); @@ -101,13 +106,15 @@ public void setTypes(WSDLTypes types); =20 /** - * Gets the name attrebute of the WSDL 1.1 Definitions Element=20 + * Gets the name attrebute of the WSDL 1.1 Definitions Element + * * @return */ public QName getWSDL1DefinitionName(); =20 /** * Sets the name attrebute of the WSDL 1.1 Definitions Element + * * @param wsdl1DefinitionName */ public void setWSDL1DefinitionName(QName wsdl1DefinitionName); @@ -115,6 +122,7 @@ /** * Will return all the Namespaces associated with the Definition * Component and will be keyed by the Napespace Prefix. + * * @return */ public HashMap getNamespaces(); @@ -122,14 +130,16 @@ /** * Sets the Namespaces associated with the Difinition Component * and they should be keyed by its Namespace Prefix. + * * @param namespaces */ public void setNamespaces(HashMap namespaces); =20 /** - * Will return the Namespace URI as a String if there exists an=20 + * Will return the Namespace URI as a String if there exists an * Namespace URI associated with the given prefix, in the Definition * Component, Will return null if not found. + * * @param prefix Prefix defined in the Definitions elemet in the WSDL = file * @return The Namespace URI for the prefix. */ @@ -137,102 +147,97 @@ =20 /** * Returns the WSDL Imports in an ArrayList + * * @return */ public ArrayList getImports(); =20 /** * Sets the imports as an ArrayList + * * @param imports */ public void setImports(ArrayList imports); =20 /** * Adds an import to the list. + * * @param wsdlImport */ public void addImports(WSDLImport wsdlImport); =20 /** * Returns the Includes as an ArrayList + * * @return */ public ArrayList getIncludes(); =20 /** * Sets the includes as an Arraylist + * * @param includes */ public void setIncludes(ArrayList includes); =20 /** * Adds the WSDL Include to the list. + * * @param wsdlInclude */ public void addInclude(WSDLInclude wsdlInclude); =20 /** - *=20 * @return A new instance of type WSDLDescription */ public WSDLDescription createDescription(); =20 /** - *=20 * @return A new instance of type WSDLService */ public WSDLService createService(); =20 /** - *=20 * @return A new instance of type WSDLInterface */ public WSDLInterface createInterface(); =20 /** - *=20 * @return A new instance of type WSDLTypes */ public WSDLTypes createTypes(); =20 /** - *=20 * @return A new instance of type WSDLBinding */ public WSDLBinding createBinding(); =20 /** - *=20 * @return A new instance of type WSDLOperation */ public WSDLOperation createOperation(); =20 /** - *=20 * @return A new instance of type WSDLEndpoint */ public WSDLEndpoint createEndpoint(); =20 /** - *=20 * @return A new instance of type WSDLFault */ public WSDLFault createFault(); =20 /** - *=20 * @return A new instance of type WSDLFeature */ public WSDLFeature createFeature(); =20 /** - *=20 * @return A new instance of type WSDLImport */ public WSDLImport createImport(); =20 /** - *=20 * @return A new instance of type WSDLInclude */ public WSDLInclude createInclude(); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLEndpoint.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java?view=3Ddiff&r1=3D1539= 01&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLEndpoint.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLEndpoint.java Mon Feb 14 22:22:34 2005 @@ -20,15 +20,14 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLEndpoint extends Component{ +public interface WSDLEndpoint extends Component { public WSDLBinding getBinding(); =20 public void setBinding(WSDLBinding binding); =20 public QName getName(); - =20 + public void setName(QName name); =20 } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLFault.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLFault.java?view=3Ddiff&r1=3D153901&= r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLFault.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLFault.java Mon Feb 14 22:22:34 2005 @@ -19,14 +19,13 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLFault extends Component{ - public Element getElement(); +public interface WSDLFault extends Component { + public Element getElement(); =20 - public void setElement(Element element); + public void setElement(Element element); =20 - public String getName(); + public String getName(); =20 - public void setName(String name); + public void setName(String name); } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLFeature.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLFeature.java?view=3Ddiff&r1=3D15390= 1&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLFeature.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLFeature.java Mon Feb 14 22:22:34 2005 @@ -18,14 +18,13 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLFeature extends Component{ - public String getName(); +public interface WSDLFeature extends Component { + public String getName(); =20 - public void setName(String name); + public void setName(String name); =20 - public boolean isRequired(); + public boolean isRequired(); =20 - public void setRequired(boolean required); + public void setRequired(boolean required); } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLImport.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLImport.java?view=3Ddiff&r1=3D153901= &r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLImport.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLImport.java Mon Feb 14 22:22:34 2005 @@ -17,29 +17,32 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLImport extends Component{ +public interface WSDLImport extends Component { /** * Gets the location URI of the Include. + * * @return */ public String getLocation(); =20 /** * Sets the location URI of the Include. + * * @param loaction */ public void setLocation(String location); =20 /** * Returns the namespace URI + * * @return */ public String getNamespace(); =20 /** * Sets the namespace URI. + * * @param namespace */ public void setNamespace(String namespace); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLInclude.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLInclude.java?view=3Ddiff&r1=3D15390= 1&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLInclude.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLInclude.java Mon Feb 14 22:22:34 2005 @@ -17,17 +17,18 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLInclude extends Component{ +public interface WSDLInclude extends Component { /** * Gets the location URI of the Include. + * * @return */ public String getLoaction(); =20 /** * Sets the location URI of the Include. + * * @param loaction */ public void setLoaction(String loaction); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLInterface.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLInterface.java?view=3Ddiff&r1=3D153= 901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLInterface.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLInterface.java Mon Feb 14 22:22:34 2005 @@ -22,15 +22,14 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLInterface extends ExtensibleComponent{ - =20 +public interface WSDLInterface extends ExtensibleComponent { + =20 public HashMap getDefinedOperations(); =20 /** - * Will return a map of all this WSDLOperations that=20 + * Will return a map of all this WSDLOperations that * are defined and inherited from super interfaces. */ public HashMap getAllOperations(); @@ -63,8 +62,9 @@ public WSDLInterface getSuperInterface(QName qName); =20 /** - * The Targetnamespace is that of the namespace URI of the QName of=20 - * this component.=20 + * The Targetnamespace is that of the namespace URI of the QName of + * this component. + * * @return URI as a String if the name is set otherwise will return nu= ll. */ public String getTargetnamespace(); @@ -86,8 +86,9 @@ =20 /** * The operation is added by its ncname. If operation is null - * it will not be added. If the Operation name is null a=20 + * it will not be added. If the Operation name is null a * WSDLProcessingException will be thrown. + * * @param nCName * @param operation */ @@ -99,14 +100,16 @@ public void setSuperInterfaces(HashMap list); =20 /** - * The Inteface will be added to the list of super interfaces keyed wi= th=20 - * the QName.=20 + * The Inteface will be added to the list of super interfaces keyed wi= th + * the QName. + * * @param interfaceComponent WSDLInterface Object */ public void addSuperInterface(WSDLInterface interfaceComponent); =20 /** * Will return the StyleDefault if exist , otherwise will return null + * * @return */ public String getStyleDefault(); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLOperation.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLOperation.java?view=3Ddiff&r1=3D153= 901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLOperation.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLOperation.java Mon Feb 14 22:22:34 2005 @@ -21,10 +21,9 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLOperation extends ExtensibleComponent{ - =20 +public interface WSDLOperation extends ExtensibleComponent { + =20 public List getInfaults(); =20 @@ -60,5 +59,5 @@ =20 public String getTargetnemespace(); =20 - =20 + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLProperty.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLProperty.java?view=3Ddiff&r1=3D1539= 01&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLProperty.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLProperty.java Mon Feb 14 22:22:34 2005 @@ -18,9 +18,8 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLProperty extends Component{ +public interface WSDLProperty extends Component { public Object getConstraint(); =20 public void setConstraint(Object constraint); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLService.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLService.java?view=3Ddiff&r1=3D15390= 1&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLService.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLService.java Mon Feb 14 22:22:34 2005 @@ -21,9 +21,8 @@ =20 /** * @author chathura@opensource.lk - * */ -public interface WSDLService extends Component{ +public interface WSDLService extends Component { public HashMap getEndpoints(); =20 public void setEndpoints(HashMap endpoints); @@ -35,8 +34,9 @@ =20 /** * Endpoint will be retrived by its qName. + * * @param qName qName of the Service - * @return WSDLService Object or will throw an WSDLProcessingException= in the case of object not found.=20 + * @return WSDLService Object or will throw an WSDLProcessingException= in the case of object not found. */ public WSDLService getEndpoint(QName qName); =20 @@ -45,8 +45,9 @@ public void setName(QName name); =20 /** - * If the Name of the WSDLService is not set a=20 + * If the Name of the WSDLService is not set a * WSDLProcessingException will be thrown. + * * @return Target Namespace as a String */ public String getNamespace(); Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/WSDLTypes.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/WSDLTypes.java?view=3Ddiff&r1=3D153901&= r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLTypes.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/WSDLTypes.java Mon Feb 14 22:22:34 2005 @@ -21,23 +21,25 @@ =20 /** * @author chathura@opensource.lk - * */ public interface WSDLTypes { /** * Sets the ExtensionElements as a HashMap + * * @return */ public HashMap getTypes(); =20 /** * Returns all the ExtensionElements as a HashMap + * * @param types */ public void setTypes(HashMap types); =20 /** - * Adds the ExtensionElement to the map keyed with the QName *=20 + * Adds the ExtensionElement to the map keyed with the QName * + * * @param qName * @param element */ @@ -46,6 +48,7 @@ /** * Will return the Element with the given QName * Returns null if not found. + * * @param qName * @return */ Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/ComponentImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java?view=3Ddiff&r1= =3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ComponentImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ComponentImpl.java Mon Feb 14 22:22:34 2005 @@ -22,64 +22,66 @@ import java.util.HashMap; =20 =20 - - /** * @author Chathura Herath - * */ -public class ComponentImpl implements WSDLConstants, Component{ +public class ComponentImpl implements WSDLConstants, Component { =20 protected HashMap componentProperties =3D new HashMap(); - =20 + protected Document documentation =3D null; - =20 + /** * Returns the Documentation Element as a * Document. + * * @return documentation */ public Document getDocumentation() { return documentation; } - =20 + /** * Will set the Documentation element for the Component. + * * @param documentation Component Docuemntation */ public void setDocumentation(Document documentation) { this.documentation =3D documentation; } + /** * Returns the properties that are specific to this WSDL Component. - *=20 */ public HashMap getComponentProperties() { return componentProperties; } + /** * Sets the properties of the Component if any. */ public void setComponentProperties(HashMap properties) { this.componentProperties =3D properties; } - =20 + /** * 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){ + public void setComponentProperty(Object key, Object obj) { this.componentProperties.put(key, obj); } - =20 + /** * Gets the component property + * * @param key key for the map search. * @return */ - public Object getComponentProperty(Object key){ + public Object getComponentProperty(Object key) { return this.componentProperties.get(key); } - =20 + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/ExtensibleComponentImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java?view= =3Ddiff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ExtensibleComponentImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ExtensibleComponentImpl.java Mon Feb 14 22:22:34 2005 @@ -24,63 +24,66 @@ =20 /** * @author chathura@opensource.lk - * */ public class ExtensibleComponentImpl extends ComponentImpl implements Exte= nsibleComponent { =20 - =20 + private List features =3D null; - =20 + private List properties =3D null; - =20 + /** * Will add a WSDLFeature to the feature list. - * If feature is null it will not be added.=20 - *=20 + * If feature is null it will not be added. + *

* ExtensibleComponent + * * @param feature */ - public void addFeature(WSDLFeature feature){ - if(null =3D=3D this.features) this.features =3D new LinkedList(); - =20 - if(null =3D=3D feature) return ; - =20 + public void addFeature(WSDLFeature feature) { + if (null =3D=3D this.features) this.features =3D new LinkedList(); + + if (null =3D=3D feature) return; + this.features.add(feature); } + /** * Will return the WSDLFeatures. If there aren't * any features an empty list will be returned. - * =20 + * * @return */ - public List getFeatures(){ - if(null =3D=3D this.features) return new LinkedList(); + public List getFeatures() { + if (null =3D=3D this.features) return new LinkedList(); return this.features; } - =20 + /** * Wll add the property to the component properties. If the property i= s null it will * not be added. + * * @param wsdlProperty */ - public void addPorperty(WSDLProperty wsdlProperty){ - if(null =3D=3D this.properties) this.properties =3D new LinkedList= (); - =20 - if(null =3D=3D wsdlProperty) return; - =20 + public void addPorperty(WSDLProperty wsdlProperty) { + if (null =3D=3D this.properties) this.properties =3D new LinkedLis= t(); + + if (null =3D=3D wsdlProperty) return; + this.features.add(wsdlProperty); - =20 + } - =20 + /** * Returns the Component Properties. If none exist an empty list will = be returned. + * * @return */ - public List getProperties(){ - =20 - if(null =3D=3D this.properties) return new LinkedList(); - =20 + public List getProperties() { + + if (null =3D=3D this.properties) return new LinkedList(); + return this.properties; } - =20 + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/ExtensionElementImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/ExtensionElementImpl.java?view=3Dd= iff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ExtensionElementImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/ExtensionElementImpl.java Mon Feb 14 22:22:34 2005 @@ -20,25 +20,26 @@ =20 /** * @author chathura@opensource.lk - * */ public class ExtensionElementImpl implements ExtensionElement { =20 private Element element; - =20 + private boolean required; - =20 - =20 - =20 + + public boolean isRequired() { return required; } + public void setRequired(boolean required) { this.required =3D required; } + public Element getElement() { return element; } + public void setElement(Element element) { this.element =3D element; } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/FaultReferenceImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java?view=3Ddif= f&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/FaultReferenceImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/FaultReferenceImpl.java Mon Feb 14 22:22:34 2005 @@ -19,54 +19,58 @@ =20 /** * @author chathura@opensource.lk - * */ -public class FaultReferenceImpl extends ComponentImpl implements FaultRefe= rence { +public class FaultReferenceImpl extends ComponentImpl implements FaultRefe= rence { =20 - //TODO make it a QNAME - private String ref; -=09 - //TODO put the value if available ; if not message lable property of the = message with same direction of the interface component. - private String messageLabel; -=09 - private String direction; -=09 - /** - * Returns the direction of the Fault according the MEP - * @return - */ - public String getDirection() { - return direction; - } -=09 - /** - * Sets the direction of the Fault. - * @param direction - */ - public void setDirection(String direction) { - this.direction =3D direction; - } -=09 - public String getMessageLabel() { - return messageLabel; - } - public void setMessageLabel(String messageLabel) { - this.messageLabel =3D messageLabel; - } -=09 - /** - * Returns the Fault reference. - * @return - */ - public String getRef() { - return ref; - } -=09 - /** - * Sets the Fault reference. - * @param ref - */ - public void setRef(String ref) { - this.ref =3D ref; - } + //TODO make it a QNAME + private String ref; + + //TODO put the value if available ; if not message lable property of t= he message with same direction of the interface component. + private String messageLabel; + + private String direction; + + /** + * Returns the direction of the Fault according the MEP + * + * @return + */ + public String getDirection() { + return direction; + } + + /** + * Sets the direction of the Fault. + * + * @param direction + */ + public void setDirection(String direction) { + this.direction =3D direction; + } + + public String getMessageLabel() { + return messageLabel; + } + + public void setMessageLabel(String messageLabel) { + this.messageLabel =3D messageLabel; + } + + /** + * Returns the Fault reference. + * + * @return + */ + public String getRef() { + return ref; + } + + /** + * Sets the Fault reference. + * + * @param ref + */ + public void setRef(String ref) { + this.ref =3D ref; + } } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/MessageReferenceImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java?view=3Dd= iff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/MessageReferenceImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/MessageReferenceImpl.java Mon Feb 14 22:22:34 2005 @@ -22,52 +22,53 @@ =20 /** * @author Chathura Herath - * */ -public class MessageReferenceImpl extends ExtensibleComponentImpl impleme= nts MessageReference { +public class MessageReferenceImpl extends ExtensibleComponentImpl implemen= ts MessageReference { =20 - =09 - //Referes to the MEP the Message relates to. - private String messageLabel; -=09 - // Can be "in" or "out" depending on the element name being "input" or "o= utput" respectively;=20 - private String Direction; -=09 -=09 - //TODO Do we need it "Message content model" -=09 -=09 - private QName element; -=09 -=09 -=09 - public String getDirection() { - return Direction; - } - public void setDirection(String direction) { - Direction =3D direction; - } -=09 - /** - * Returns an Element which refers to the actual message that will get tr= ansported. This Element=20 - * Abstracts all the Message Parts that was defined in the WSDL 1.1. - */ - public QName getElement() { - return element; - } -=09 -=09 - /** - * 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. - */ - public void setElement(QName element) { - this.element =3D element; - } - public String getMessageLabel() { - return messageLabel; - } - public void setMessageLabel(String messageLabel) { - this.messageLabel =3D messageLabel; - } + + //Referes to the MEP the Message relates to. + private String messageLabel; + + // Can be "in" or "out" depending on the element name being "input" or= "output" respectively; + private String Direction; + + + //TODO Do we need it "Message content model" + + + private QName element; + + + public String getDirection() { + return Direction; + } + + public void setDirection(String direction) { + Direction =3D 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. + */ + public QName getElement() { + return element; + } + + + /** + * Sets the Element that will Abstract the actual message. All the par= ts defined in WSDL 1.1 + * per message should be Encapsulated in this Element. + */ + public void setElement(QName element) { + this.element =3D element; + } + + public String getMessageLabel() { + return messageLabel; + } + + public void setMessageLabel(String messageLabel) { + this.messageLabel =3D messageLabel; + } } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WDSLPropertyImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java?view=3Ddiff&= r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WDSLPropertyImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WDSLPropertyImpl.java Mon Feb 14 22:22:34 2005 @@ -19,36 +19,40 @@ =20 /** * @author chathura@opensource.lk - * */ -public class WDSLPropertyImpl extends ComponentImpl implements WSDLPropert= y { +public class WDSLPropertyImpl extends ComponentImpl implements WSDLPropert= y { =20 -=09 - private String uri; -=09 - //TODO replace with the data binding object structure - private Object constraint; -=09 - //TODO replace with the data binding object structure - private Object value; -=09 -=09 - public Object getConstraint() { - return constraint; - } - public void setConstraint(Object constraint) { - this.constraint =3D constraint; - } - public String getName() { - return uri; - } - public void setName(String uri) { - this.uri =3D uri; - } - public Object getValue() { - return value; - } - public void setValue(Object value) { - this.value =3D value; - } + + private String uri; + + //TODO replace with the data binding object structure + private Object constraint; + + //TODO replace with the data binding object structure + private Object value; + + + public Object getConstraint() { + return constraint; + } + + public void setConstraint(Object constraint) { + this.constraint =3D constraint; + } + + public String getName() { + return uri; + } + + public void setName(String uri) { + this.uri =3D uri; + } + + public Object getValue() { + return value; + } + + public void setValue(Object value) { + this.value =3D value; + } } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLBindingFaultImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLBindingFaultImpl.java?view=3Dd= iff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingFaultImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingFaultImpl.java Mon Feb 14 22:22:34 2005 @@ -21,16 +21,16 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLBindingFaultImpl extends ExtensibleComponentImpl implemen= ts WSDLBindingFault { =20 private QName ref; - =20 - =20 + + public QName getRef() { return ref; } + public void setRef(QName ref) { this.ref =3D ref; } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLBindingImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java?view=3Ddiff&r= 1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingImpl.java Mon Feb 14 22:22:34 2005 @@ -25,70 +25,71 @@ =20 /** * @author chathura@opensource.lk - * */ -public class WSDLBindingImpl extends ExtensibleComponentImpl implements WS= DLBinding { +public class WSDLBindingImpl extends ExtensibleComponentImpl implements WS= DLBinding { + + private QName name; + + private WSDLInterface boundInterface; + + private HashMap bindingFaults =3D new HashMap(); + + private HashMap bindingOperations =3D new HashMap(); + + + public WSDLInterface getBoundInterface() { + return boundInterface; + } + + public void setBoundInterface(WSDLInterface boundInterface) { + this.boundInterface =3D boundInterface; + } + + public QName getName() { + return name; + } + + public void setName(QName name) { + this.name =3D name; + } + + public String getTargetNameSpace() { + return this.name.getLocalPart(); + } + =20 - private QName name; -=09 - private WSDLInterface boundInterface; -=09 - private HashMap bindingFaults =3D new HashMap(); -=09 - private HashMap bindingOperations =3D new HashMap(); -=09 -=09 -=09 - =20 -=09 -=09 - public WSDLInterface getBoundInterface() { - return boundInterface; - } - public void setBoundInterface(WSDLInterface boundInterface) { - this.boundInterface =3D boundInterface; - } -=09 - public QName getName() { - return name; - } - public void setName(QName name) { - this.name =3D name; - } -=09 - public String getTargetNameSpace() { - return this.name.getLocalPart(); - } -=09 -=09 - =20 public HashMap getBindingFaults() { return bindingFaults; } + public void setBindingFaults(HashMap bindingFaults) { this.bindingFaults =3D bindingFaults; } + public HashMap getBindingOperations() { return bindingOperations; } + public void setBindingOperations(HashMap bindingOperations) { this.bindingOperations =3D bindingOperations; } - public void addBindingOperation(WSDLBindingOperation bindingOperation){ - if(null !=3D bindingOperation) - this.bindingOperations.put(bindingOperation.getName(), bindingOpe= ration); - } - public WSDLBindingOperation getBindingOperation(QName qName){ - return (WSDLBindingOperation)this.bindingOperations.get(qName); - } -=09 - public void addBindingFaults(WSDLBindingFault bindingFault){ - if(null !=3D bindingFault) - this.bindingFaults.put(bindingFault.getRef(), bindingFault); =20 - } -=09 - public WSDLBindingFault getBindingFault(QName ref){ - return (WSDLBindingFault)this.bindingFaults.get(ref); =20 - } -=09 + + public void addBindingOperation(WSDLBindingOperation bindingOperation)= { + if (null !=3D bindingOperation) + this.bindingOperations.put(bindingOperation.getName(), binding= Operation); + } + + public WSDLBindingOperation getBindingOperation(QName qName) { + return (WSDLBindingOperation) this.bindingOperations.get(qName); + } + + public void addBindingFaults(WSDLBindingFault bindingFault) { + if (null !=3D bindingFault) + this.bindingFaults.put(bindingFault.getRef(), bindingFault); + } + + public WSDLBindingFault getBindingFault(QName ref) { + return (WSDLBindingFault) this.bindingFaults.get(ref); + } + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLBindingMessageReferenceImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.ja= va?view=3Ddiff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingMessageReferenceImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingMessageReferenceImpl.java Mon Feb 14 22:22:34 2005 @@ -19,7 +19,6 @@ =20 /** * @author chathura@opensource.lk - * =20 */ public class WSDLBindingMessageReferenceImpl extends ExtensibleComponentIm= pl implements WSDLBindingMessageReference { =20 Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLBindingOperationImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLBindingOperationImpl.java?view= =3Ddiff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingOperationImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLBindingOperationImpl.java Mon Feb 14 22:22:34 2005 @@ -23,42 +23,47 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLBindingOperationImpl extends ExtensibleComponentImpl impl= ements WSDLBindingOperation { =20 private QName name; - =20 + private WSDLOperation operation; - =20 + private WSDLBindingMessageReference input; - =20 + private WSDLBindingMessageReference output; - =20 - =20 + + public WSDLBindingMessageReference getInput() { return input; } + public void setInput(WSDLBindingMessageReference input) { this.input =3D input; } + public WSDLOperation getOperation() { return operation; } + public void setOperation(WSDLOperation operation) { this.operation =3D operation; } + public WSDLBindingMessageReference getOutput() { return output; } + public void setOutput(WSDLBindingMessageReference output) { this.output =3D output; } - =20 - =20 + + public QName getName() { return name; } + public void setName(QName name) { this.name =3D name; } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLDescriptionImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLDescriptionImpl.java?view=3Ddi= ff&r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLDescriptionImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLDescriptionImpl.java Mon Feb 14 22:22:34 2005 @@ -22,391 +22,400 @@ import java.util.HashMap; =20 =20 - - /** * @author chathura@opensource.lk - * */ public class WSDLDescriptionImpl extends ComponentImpl implements WSDLDesc= ription { =20 - /** - * The name token of WSDL 1.1 Definition. - */ - private QName wsdl1DefinitionName ; + /** + * The name token of WSDL 1.1 Definition. + */ + private QName wsdl1DefinitionName; =20 //TODO local name and the naspace name to be made static or through a = Constant class. -=09 - // The attrebute information items -=09 - //TODO required; thus check it up - private String targetNameSpace; -=09 - //private NamespaceMappings[] namespaceDefinitions; -=09 - //TODO The object structure of some external xml data binding is going to= be pluged here eventually. =20 -=09 - private WSDLTypes types; -=09 - /** - * This List will be a list of WSDLInterface objects. - */ - private HashMap wsdlInterfaces =3D new HashMap(); -=09 - /** - * This HashMap is a Map of WSDLBinding objec= ts.=20 - */ - private HashMap bindings =3D new HashMap(); -=09 - /** - * This HashMap is a list of WSDLService obje= cts. - * Support of multiple is backed by the requirements in the specification= . - */ - private HashMap services =3D new HashMap(); -=09 - /** - * WSDL imports - */ - private ArrayList imports =3D new ArrayList(); -=09 -=09 - /** - * WSDL Includes. - */ - private ArrayList includes =3D new ArrayList(); -=09 - /** - * Will keep a map of all the Namespaces associated with the=20 - * Definition Component and will be keyed by the Namespace prefix. - */ - private HashMap namespaces =3D new HashMap(); -=09 - /** - * Returns a Map of WSDLBindings Objects keyed by the = QName - * of the Binding.=20 - */ - public HashMap getBindings() { - return bindings; - } -=09 -=09 - /** - * Sets the whole new set of Bindings to the WSDLDefinition. - */ - public void setBindings(HashMap bindings) { + + // The attrebute information items + + //TODO required; thus check it up + private String targetNameSpace; + + //private NamespaceMappings[] namespaceDefinitions; + + //TODO The object structure of some external xml data binding is going= to be pluged here eventually. + + private WSDLTypes types; + + /** + * This List will be a list of WSDLInterface objects. + */ + private HashMap wsdlInterfaces =3D new HashMap(); + + /** + * This HashMap is a Map of WSDLBinding ob= jects. + */ + private HashMap bindings =3D new HashMap(); + + /** + * This HashMap is a list of WSDLService o= bjects. + * Support of multiple is backed by the requirements in the specificat= ion. + */ + private HashMap services =3D new HashMap(); + + /** + * WSDL imports + */ + private ArrayList imports =3D new ArrayList(); + + + /** + * WSDL Includes. + */ + private ArrayList includes =3D new ArrayList(); + + /** + * Will keep a map of all the Namespaces associated with the + * Definition Component and will be keyed by the Namespace prefix. + */ + private HashMap namespaces =3D new HashMap(); + + /** + * Returns a Map of WSDLBindings Objects keyed by the QName + * of the Binding. + */ + public HashMap getBindings() { + return bindings; + } + + + /** + * Sets the whole new set of Bindings to the WSDLDefinition. + */ + public void setBindings(HashMap bindings) { // if(this.bindings.size() > 0) throw new WSDLProcessingException("WSD= LBimding Map already contains " + // "one or more bindings. Trying to assign a new map will loose thos= e Bindings."); - this.bindings =3D bindings; - } -=09 - =09 - /** - * The WSDLBinding Will be added to the map keyed with its own QName. - * If the WSDLBinding is null it will not be added. - * If the WSDLBinding is not null and Binding name is null then=20 - * WSDLProcessingException will be thrown - * @param binding WSDLBinding Object - */ - public void addBinding(WSDLBinding binding){ - =20 - if(null =3D=3D binding) return; - =20 - if( null =3D=3D binding.getName())=20 - throw new WSDLProcessingException("The WSDLBinding name cannot b= e null(Required)"); - =20 - this.bindings.put(binding.getName(), binding); - } -=09 - /** - * Retrives the WSDLBinding by its QName. Wil return null - * if WSDLBinding is not found. - * @param qName The QName of the Binding. - */ - public WSDLBinding getBinding(QName qName){ - return (WSDLBinding)this.bindings.get(qName); =20 - } - - =09 -=09 - /** - * The Interface component will be added to the map keyed with its own na= me. - * If the Interface is null it will not be added. - * If the interface name is null an WSDLProcessingException will be throw= n - * @param interfaceComponent - */ - public void addInterface(WSDLInterface interfaceComponent){ - if(null =3D=3D interfaceComponent) return; - if(null =3D=3D interfaceComponent.getName())=20 - throw new WSDLProcessingException("PortType/Interface name cannot= be null(Required) "); - =20 - this.wsdlInterfaces.put(interfaceComponent.getName(), interfaceCompon= ent); - } - =09 -=09 - /** - * The Interface Component will be returned if it exsists,=20 - * otherwise null will be returned. - * @param qName qName of the Interface. - * @return The Interface Component with the relavent QName=20 - */ - public WSDLInterface getInterface(QName qName){ - =20 - return (WSDLInterface)this.wsdlInterfaces.get(qName); - } + this.bindings =3D bindings; + } + + + /** + * The WSDLBinding Will be added to the map keyed with its own QName. + * If the WSDLBinding is null it will not be added. + * If the WSDLBinding is not null and Binding name is null then + * WSDLProcessingException will be thrown + * + * @param binding WSDLBinding Object + */ + public void addBinding(WSDLBinding binding) { + + if (null =3D=3D binding) return; + + if (null =3D=3D binding.getName()) + throw new WSDLProcessingException("The WSDLBinding name cannot= be null(Required)"); + + this.bindings.put(binding.getName(), binding); + } + + /** + * Retrives the WSDLBinding by its QName. Wil return null + * if WSDLBinding is not found. + * + * @param qName The QName of the Binding. + */ + public WSDLBinding getBinding(QName qName) { + return (WSDLBinding) this.bindings.get(qName); + } + + + /** + * The Interface component will be added to the map keyed with its own= name. + * If the Interface is null it will not be added. + * If the interface name is null an WSDLProcessingException will be th= rown + * + * @param interfaceComponent + */ + public void addInterface(WSDLInterface interfaceComponent) { + if (null =3D=3D interfaceComponent) return; + if (null =3D=3D interfaceComponent.getName()) + throw new WSDLProcessingException("PortType/Interface name can= not be null(Required) "); + + this.wsdlInterfaces.put(interfaceComponent.getName(), interfaceCom= ponent); + } + + + /** + * The Interface Component will be returned if it exsists, + * otherwise null will be returned. + * + * @param qName qName of the Interface. + * @return The Interface Component with the relavent QName + */ + public WSDLInterface getInterface(QName qName) { + + return (WSDLInterface) this.wsdlInterfaces.get(qName); + } + =20 -=09 public HashMap getServices() { return services; } + public void setServices(HashMap services) { this.services =3D services; } - =20 + + /** + * Will return the WSDLService if found otherwise return= null. + * + * @param qName QName of the Service + * @return The Service with the relavent QName + */ + public WSDLService getService(QName qName) { + return (WSDLService) this.services.get(qName); + + } + + /** - * Will return the WSDLService if found otherwise return nu= ll. - * @param qName QName of the Service - * @return The Service with the relavent QName=20 - */ - public WSDLService getService(QName qName){ - return (WSDLService)this.services.get(qName); - =20 - } -=09 -=09 - /** - * Will add the WSDLService to the Map. - * If object is null it will not be added. - * If the WSDLService name is null a WSDLProcessingExc= eption - * will be thrown.(its required) - * @param service - */ - public void addService(WSDLService service){ - if(null =3D=3D service) return; - =20 - if(null =3D=3D service.getName()) throw new WSDLProcessingExceptio= n("The WSDLService name cannot be null (Required)"); - =20 + * Will add the WSDLService to the Map. + * If object is null it will not be added. + * If the WSDLService name is null a WSDLProcessing= Exception + * will be thrown.(its required) + * + * @param service + */ + public void addService(WSDLService service) { + if (null =3D=3D service) return; + + if (null =3D=3D service.getName()) throw new WSDLProcessingExcepti= on("The WSDLService name cannot be null (Required)"); + this.services.put(service.getName(), service); } - =20 - public String getTargetNameSpace() { - return targetNameSpace; - } - public void setTargetNameSpace(String targetNameSpace) { - this.targetNameSpace =3D targetNameSpace; - } -=09 - public HashMap getWsdlInterfaces() { - return wsdlInterfaces; - } - public void setWsdlInterfaces(HashMap wsdlInterfaces) { - this.wsdlInterfaces =3D wsdlInterfaces; - } + + public String getTargetNameSpace() { + return targetNameSpace; + } + + public void setTargetNameSpace(String targetNameSpace) { + this.targetNameSpace =3D targetNameSpace; + } + + public HashMap getWsdlInterfaces() { + return wsdlInterfaces; + } + + public void setWsdlInterfaces(HashMap wsdlInterfaces) { + this.wsdlInterfaces =3D wsdlInterfaces; + } + public WSDLTypes getTypes() { return types; } + public void setTypes(WSDLTypes types) { this.types =3D types; } + /** - * Gets the name attrebute of the WSDL 1.1 Definitions Element=20 + * Gets the name attrebute of the WSDL 1.1 Definitions Element + * * @return */ public QName getWSDL1DefinitionName() { return wsdl1DefinitionName; } - =20 + /** * Sets the name attrebute of the WSDL 1.1 Definitions Element + * * @param wsdl1DefinitionName */ public void setWSDL1DefinitionName(QName wsdl1DefinitionName) { this.wsdl1DefinitionName =3D wsdl1DefinitionName; } + /** * Will return all the Namespaces associated with the Definition * Component and will be keyed by the Napespace Prefix. + * * @return */ public HashMap getNamespaces() { return namespaces; } - =20 + /** * Sets the Namespaces associated with the Difinition Component * and they should be keyed by its Namespace Prefix. + * * @param namespaces */ public void setNamespaces(HashMap namespaces) { this.namespaces =3D namespaces; } - =20 - =20 + + /** - * Will return the Namespace URI as a String if there exists an=20 + * Will return the Namespace URI as a String if there exists an * Namespace URI associated with the given prefix, in the Definition * Component, Will return null if not found. + * * @param prefix Prefix defined in the Definitions elemet in the WSDL = file * @return The Namespace URI for the prefix. */ - public String getNamespace(String prefix){ - if(null =3D=3D prefix){ + public String getNamespace(String prefix) { + if (null =3D=3D prefix) { return null; } - =20 + return (String) this.namespaces.get(prefix); } - =20 + /** * Returns the WSDL Imports in an ArrayList + * * @return */ public ArrayList getImports() { return imports; } - =20 + /** * Sets the imports as an ArrayList + * * @param imports */ public void setImports(ArrayList imports) { this.imports =3D imports; } - =20 + /** * Adds an import to the list. + * * @param wsdlImport */ - public void addImports(WSDLImport wsdlImport){ + public void addImports(WSDLImport wsdlImport) { this.imports.add(wsdlImport); } - =20 + /** * Returns the Includes as an ArrayList + * * @return - */ =20 + */ public ArrayList getIncludes() { return includes; } - =20 + /** * Sets the includes as an Arraylist + * * @param includes */ public void setIncludes(ArrayList includes) { this.includes =3D includes; } - =20 + /** * Adds the WSDL Include to the list. + * * @param wsdlInclude */ - public void addInclude(WSDLInclude wsdlInclude){ + public void addInclude(WSDLInclude wsdlInclude) { this.includes.add(wsdlInclude); } - =20 + /** - *=20 * @return A new instance of type WSDLDescription */ - public WSDLDescription createDescription(){ - =20 + public WSDLDescription createDescription() { + return new WSDLDescriptionImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLService */ - public WSDLService createService(){ - =20 - return new WSDLServiceImpl(); =20 - } =20 - =20 + public WSDLService createService() { + + return new WSDLServiceImpl(); + } + /** - *=20 * @return A new instance of type WSDLInterface */ - public WSDLInterface createInterface(){ - =20 + public WSDLInterface createInterface() { + return new WSDLInterfaceImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLTypes */ - public WSDLTypes createTypes(){ - =20 + public WSDLTypes createTypes() { + return new WSDLTypesImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLBinding */ - public WSDLBinding createBinding(){ - =20 + public WSDLBinding createBinding() { + return new WSDLBindingImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLOperation */ - public WSDLOperation createOperation(){ - =20 + public WSDLOperation createOperation() { + return new WSDLOperationImpl(); - } =20 + } =20 /** - *=20 * @return A new instance of type WSDLEndpoint */ - public WSDLEndpoint createEndpoint(){ - =20 + public WSDLEndpoint createEndpoint() { + return new WSDLEndpointImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLFault */ - public WSDLFault createFault(){ - =20 + public WSDLFault createFault() { + return new WSDLFaultImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLFeature */ - public WSDLFeature createFeature(){ - =20 + public WSDLFeature createFeature() { + return new WSDLFeatureImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLImport */ - public WSDLImport createImport(){ - =20 + public WSDLImport createImport() { + return new WSDLImportImpl(); } - =20 + /** - *=20 * @return A new instance of type WSDLInclude */ - public WSDLInclude createInclude(){ - =20 + public WSDLInclude createInclude() { + return new WSDLIncludeImpl(); } - =20 - public WSDLProperty createProperty(){ - =20 + + public WSDLProperty createProperty() { + return new WSDLPropertyImpl(); } - =20 - =20 + + } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLEndpointImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java?view=3Ddiff&= r1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLEndpointImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLEndpointImpl.java Mon Feb 14 22:22:34 2005 @@ -21,26 +21,27 @@ import javax.xml.namespace.QName; =20 =20 - /** * @author chathura@opensource.lk - * */ -public class WSDLEndpointImpl extends ComponentImpl implements WSDLEndpoi= nt { +public class WSDLEndpointImpl extends ComponentImpl implements WSDLEndpoin= t { =20 private QName name; - =20 + private WSDLBinding binding; - =20 + public WSDLBinding getBinding() { return binding; } + public void setBinding(WSDLBinding binding) { this.binding =3D binding; } + public QName getName() { return name; } + public void setName(QName name) { this.name =3D name; } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLFaultImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java?view=3Ddiff&r1= =3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLFaultImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLFaultImpl.java Mon Feb 14 22:22:34 2005 @@ -20,25 +20,27 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLFaultImpl extends ComponentImpl implements WSDLFault { -=09 - //TODO its a NCName so parse it. and this is required - private String name; -=09 - private Element element; - - public Element getElement() { - return element; - } - public void setElement(Element element) { - this.element =3D element; - } - public String getName() { - return name; - } - public void setName(String name) { - this.name =3D name; - } + + //TODO its a NCName so parse it. and this is required + private String name; + + private Element element; + + public Element getElement() { + return element; + } + + public void setElement(Element element) { + this.element =3D element; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name =3D name; + } } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLFeatureImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java?view=3Ddiff&r= 1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLFeatureImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLFeatureImpl.java Mon Feb 14 22:22:34 2005 @@ -19,26 +19,28 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLFeatureImpl extends ComponentImpl implements WSDLFeature = { =20 -=09 - private String name; -=09 - private boolean required; -=09 -=09 - public String getName() { - return name; - } - public void setName(String name) { - this.name =3D name; - } - public boolean isRequired() { - return required; - } - public void setRequired(boolean required) { - this.required =3D required; - } + + private String name; + + private boolean required; + + + public String getName() { + return name; + } + + public void setName(String name) { + this.name =3D name; + } + + public boolean isRequired() { + return required; + } + + public void setRequired(boolean required) { + this.required =3D required; + } } Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLImportImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLImportImpl.java?view=3Ddiff&r1= =3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLImportImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLImportImpl.java Mon Feb 14 22:22:34 2005 @@ -19,42 +19,44 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLImportImpl extends ComponentImpl implements WSDLImport { - =20 + private String location; - =20 + private String namespace; - =20 - =20 - =20 + + /** * Gets the location URI of the Include. + * * @return */ public String getLocation() { return location; } - =20 + /** * Sets the location URI of the Include. + * * @param loaction */ public void setLocation(String location) { this.location =3D location; } - =20 + /** * Returns the namespace URI + * * @return */ public String getNamespace() { return namespace; } - =20 + /** * Sets the namespace URI. + * * @param namespace */ public void setNamespace(String namespace) { Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/a= pache/wsdl/impl/WSDLIncludeImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/= prototype2/src/java/org/apache/wsdl/impl/WSDLIncludeImpl.java?view=3Ddiff&r= 1=3D153901&r2=3D153902 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLIncludeImpl.java (original) +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/= wsdl/impl/WSDLIncludeImpl.java Mon Feb 14 22:22:34 2005 @@ -19,7 +19,6 @@ =20 /** * @author chathura@opensource.lk - * */ public class WSDLIncludeImpl extends ComponentImpl implements WSDLInclude = { =20 @@ -27,22 +26,24 @@ * URI of the include Location. */ private String loaction; - =20 + /** * Gets the location URI of the Include. + * * @return */ public String getLoaction() { return loaction; } - =20 + /** * Sets the location URI of the Include. + * * @param loaction */ public void setLoaction(String loaction) { this.loaction =3D loaction; } - =20 - =20 + + }