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 ch...@apache.org on 2005/02/15 07:23:26 UTC

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/

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface ExtensibleComponent extends Component{
+public interface ExtensibleComponent extends Component {
     /**
      * Will add a <code>WSDLFeature</code> to the feature list.
-     * If feature is null it will not be added. 
-     * 
+     * If feature is null it will not be added.
+     * <p/>
      * <code>ExtensibleComponent</code>
+     *
      * @param feature
      */
     public void addFeature(WSDLFeature feature);
@@ -35,7 +35,7 @@
     /**
      * Will return the <code>WSDLFeature</code>s. If there aren't
      * any features an empty list will be returned.
-     *     
+     *
      * @return
      */
     public List getFeatures();
@@ -43,12 +43,14 @@
     /**
      * Wll add the property to the component properties. If the property is null it will
      * not be added.
+     *
      * @param wsdlProperty
      */
     public void addPorperty(WSDLProperty wsdlProperty);
 
     /**
      * 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/apache/wsdl/ExtensionElement.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensionElement.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public interface ExtensionElement {
     public Element getElement();
 
     public void setElement(Element element);
-    
+
     public boolean isRequired();
-    
+
     public void setRequired(boolean required);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @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();
 
     /**
      * Sets the direction of the Fault.
+     *
      * @param direction
      */
     public void setDirection(String direction);
@@ -38,12 +39,14 @@
 
     /**
      * Returns the Fault reference.
+     *
      * @return
      */
     public String getRef();
 
     /**
      * Sets the Fault reference.
+     *
      * @param ref
      */
     public void setRef(String ref);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface MessageReference  extends ExtensibleComponent{
+public interface MessageReference extends ExtensibleComponent {
     public String getDirection();
 
     public void setDirection(String direction);
 
 
-	/**
-	 * 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.
-	 */
+    /**
+     * 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();
 
     public void setElement(QName element);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLBinding extends ExtensibleComponent{
+public interface WSDLBinding extends ExtensibleComponent {
     public WSDLInterface getBoundInterface();
 
     public void setBoundInterface(WSDLInterface boundInterface);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingFault.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public interface WSDLBindingFault {
     public QName getRef();

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingMessageReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingMessageReference.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLBindingMessageReference extends ExtensibleComponent{
+public interface WSDLBindingMessageReference extends ExtensibleComponent {
     public String getDirection();
 
     public void setDirection(String direction);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBindingOperation.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLBindingOperation extends ExtensibleComponent{
-    
-    
+public interface WSDLBindingOperation extends ExtensibleComponent {
+
+
     public WSDLBindingMessageReference getInput();
 
     public void setInput(WSDLBindingMessageReference input);
@@ -36,8 +35,8 @@
     public WSDLBindingMessageReference getOutput();
 
     public void setOutput(WSDLBindingMessageReference output);
-    
-    public QName getName() ;
-    
-    public void setName(QName name) ;
+
+    public QName getName();
+
+    public void setName(QName name);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public interface WSDLConstants {
 
     public static final String WSDL2_0_NAMESPACE =
-        "http://www.w3.org/2004/03/wsdl";
+            "http://www.w3.org/2004/03/wsdl";
 
     public static final String WSDL1_1_NAMESPACE =
-        "http://schemas.xmlsoap.org/wsdl/";
+            "http://schemas.xmlsoap.org/wsdl/";
 
     public static final String[] WSDL_NAMESPACES =
-        { WSDL2_0_NAMESPACE, WSDL1_1_NAMESPACE };
+            {WSDL2_0_NAMESPACE, WSDL1_1_NAMESPACE};
 
-	//TODO Verify weather the value is right with the spec.
+    //TODO Verify weather the value is right with the spec.
 	
     public static final String WSDL_MESSAGE_DIRECTION_IN = "in";
-    
-	//TODO Verify weather the value is right with the spec. 
+
+    //TODO Verify weather the value is right with the spec.
     
     public static final String WSDL_MESSAGE_DIRECTION_OUT = "out";
     
@@ -43,20 +42,20 @@
     //////////////////////////////////////////////////////////////////
     
     public static final String MEP_URI_IN_ONLY = "http://www.w3.org/2004/08/wsdl/in-only";
-    
-    public static final String MEP_URI_ROBUST_IN_ONLY = "http://www.w3.org/2004/08/wsdl/robust-in-only";                                                 
-    
+
+    public static final String MEP_URI_ROBUST_IN_ONLY = "http://www.w3.org/2004/08/wsdl/robust-in-only";
+
     public static final String MEP_URI_IN_OUT = "http://www.w3.org/2004/08/wsdl/in-out";
-    
+
     public static final String MEP_URI_IN_OPTIONAL_OUT = "http://www.w3.org/2004/08/wsdl/in-opt-out";
-    
+
     public static final String MEP_URI_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/out-only";
-    
+
     public static final String MEP_URI_ROBUST_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/robust-out-only";
-    
+
     public static final String MEP_URI_OUT_IN = "http://www.w3.org/2004/08/wsdl/out-in";
-    
+
     public static final String MEP_URI_OUT_OPTIONL_IN = "http://www.w3.org/2004/08/wsdl/out-opt-in";
-    
-        
+
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDescription.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLDescription extends Component{
+public interface WSDLDescription extends Component {
     /**
      * Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
-     * of the Binding. 
+     * of the Binding.
      */
     public HashMap getBindings();
 
@@ -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 
+     * If the WSDLBinding is not null and  Binding name is null then
      * WSDLProcessingException will be thrown
+     *
      * @param binding <code>WSDLBinding</code> Object
      */
     public void addBinding(WSDLBinding binding);
@@ -48,6 +48,7 @@
     /**
      * Retrives the <code>WSDLBinding</code> by its QName. Wil return null
      * if <code>WSDLBinding</code> 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 thrown
+     *
      * @param interfaceComponent
      */
     public void addInterface(WSDLInterface interfaceComponent);
 
     /**
-     * The Interface Component will be returned if it exsists, 
+     * 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 
+     * @return The Interface Component with the relavent QName
      */
     public WSDLInterface getInterface(QName qName);
 
@@ -74,8 +77,9 @@
 
     /**
      * Will return the <code>WSDLService </code> if found otherwise return null.
+     *
      * @param qName <code>QName</code> of the Service
-     * @return The Service with the relavent QName 
+     * @return The Service with the relavent QName
      */
     public WSDLService getService(QName qName);
 
@@ -84,6 +88,7 @@
      * If object is null it will not be added.
      * If the <code>WSDLService</code> name is null a <code>WSDLProcessingException</code>
      * will be thrown.(its required)
+     *
      * @param service
      */
     public void addService(WSDLService service);
@@ -101,13 +106,15 @@
     public void setTypes(WSDLTypes types);
 
     /**
-     * Gets the name attrebute of the WSDL 1.1 Definitions Element 
+     * Gets the name attrebute of the WSDL 1.1 Definitions Element
+     *
      * @return
      */
     public QName getWSDL1DefinitionName();
 
     /**
      * 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);
 
     /**
-     * Will return the Namespace URI as a String if there exists an 
+     * 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 @@
 
     /**
      * Returns the WSDL Imports in an <code>ArrayList</code>
+     *
      * @return
      */
     public ArrayList getImports();
 
     /**
      * Sets the imports as an <code>ArrayList</code>
+     *
      * @param imports
      */
     public void setImports(ArrayList imports);
 
     /**
      * Adds an import to the list.
+     *
      * @param wsdlImport
      */
     public void addImports(WSDLImport wsdlImport);
 
     /**
      * Returns the Includes as an <code>ArrayList</code>
+     *
      * @return
      */
     public ArrayList getIncludes();
 
     /**
      * Sets the includes as an <code>Arraylist</code>
+     *
      * @param includes
      */
     public void setIncludes(ArrayList includes);
 
     /**
      * Adds the WSDL Include to the list.
+     *
      * @param wsdlInclude
      */
     public void addInclude(WSDLInclude wsdlInclude);
 
     /**
-     * 
      * @return A new instance of type <code>WSDLDescription</code>
      */
     public WSDLDescription createDescription();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLService</code>
      */
     public WSDLService createService();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLInterface</code>
      */
     public WSDLInterface createInterface();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLTypes</code>
      */
     public WSDLTypes createTypes();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLBinding</code>
      */
     public WSDLBinding createBinding();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLOperation</code>
      */
     public WSDLOperation createOperation();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLEndpoint</code>
      */
     public WSDLEndpoint createEndpoint();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLFault</code>
      */
     public WSDLFault createFault();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLFeature</code>
      */
     public WSDLFeature createFeature();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLImport</code>
      */
     public WSDLImport createImport();
 
     /**
-     * 
      * @return A new instance of type <code>WSDLInclude</code>
      */
     public WSDLInclude createInclude();

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLEndpoint extends Component{
+public interface WSDLEndpoint extends Component {
     public WSDLBinding getBinding();
 
     public void setBinding(WSDLBinding binding);
 
     public QName getName();
-    
+
     public void setName(QName name);
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLFault extends Component{
-	public Element getElement();
+public interface WSDLFault extends Component {
+    public Element getElement();
 
-	public void setElement(Element element);
+    public void setElement(Element element);
 
-	public String getName();
+    public String getName();
 
-	public void setName(String name);
+    public void setName(String name);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLFeature extends Component{
-	public String getName();
+public interface WSDLFeature extends Component {
+    public String getName();
 
-	public void setName(String name);
+    public void setName(String name);
 
-	public boolean isRequired();
+    public boolean isRequired();
 
-	public void setRequired(boolean required);
+    public void setRequired(boolean required);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLImport.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLImport.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @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();
 
     /**
      * Sets the location URI of the Include.
+     *
      * @param loaction
      */
     public void setLocation(String location);
 
     /**
      * Returns the namespace URI
+     *
      * @return
      */
     public String getNamespace();
 
     /**
      * Sets the namespace URI.
+     *
      * @param namespace
      */
     public void setNamespace(String namespace);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInclude.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @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();
 
     /**
      * 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/apache/wsdl/WSDLInterface.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLInterface extends ExtensibleComponent{
-    
+public interface WSDLInterface extends ExtensibleComponent {
+
 
     public HashMap getDefinedOperations();
 
     /**
-     * Will return a map of all this <code>WSDLOperation</code>s that 
+     * Will return a map of all this <code>WSDLOperation</code>s that
      * are defined and inherited from super interfaces.
      */
     public HashMap getAllOperations();
@@ -63,8 +62,9 @@
     public WSDLInterface getSuperInterface(QName qName);
 
     /**
-     * The Targetnamespace is that of the namespace URI of the QName of 
-     * this component. 
+     * 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 null.
      */
     public String getTargetnamespace();
@@ -86,8 +86,9 @@
 
     /**
      * The operation is added by its ncname. If operation is null
-     * it will not be added. If the Operation name is null a 
+     * it will not be added. If the Operation name is null a
      * <code>WSDLProcessingException</code> will be thrown.
+     *
      * @param nCName
      * @param operation
      */
@@ -99,14 +100,16 @@
     public void setSuperInterfaces(HashMap list);
 
     /**
-     * The Inteface will be added to the list of super interfaces keyed with 
-     * the QName. 
+     * The Inteface will be added to the list of super interfaces keyed with
+     * the QName.
+     *
      * @param interfaceComponent WSDLInterface Object
      */
     public void addSuperInterface(WSDLInterface interfaceComponent);
 
     /**
      * 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/apache/wsdl/WSDLOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLOperation  extends ExtensibleComponent{
-    
+public interface WSDLOperation extends ExtensibleComponent {
+
 
     public List getInfaults();
 
@@ -60,5 +59,5 @@
 
     public String getTargetnemespace();
 
-    
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLProperty extends Component{
+public interface WSDLProperty extends Component {
     public Object getConstraint();
 
     public void setConstraint(Object constraint);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public interface WSDLService extends Component{
+public interface WSDLService extends Component {
     public HashMap getEndpoints();
 
     public void setEndpoints(HashMap endpoints);
@@ -35,8 +34,9 @@
 
     /**
      * 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. 
+     * @return WSDLService Object or will throw an WSDLProcessingException in the case of object not found.
      */
     public WSDLService getEndpoint(QName qName);
 
@@ -45,8 +45,9 @@
     public void setName(QName name);
 
     /**
-     * If the Name of the <code>WSDLService</code> is not set a 
+     * If the Name of the <code>WSDLService</code> is not set a
      * <code>WSDLProcessingException</code> will be thrown.
+     *
      * @return Target Namespace as a <code>String</code>
      */
     public String getNamespace();

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLTypes.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLTypes.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public interface WSDLTypes {
     /**
      * Sets the <code>ExtensionElement</code>s as a <code>HashMap</code>
+     *
      * @return
      */
     public HashMap getTypes();
 
     /**
      * Returns all the <code>ExtensionElement</code>s as a <code>HashMap</code>
+     *
      * @param types
      */
     public void setTypes(HashMap types);
 
     /**
-     * Adds the <code>ExtensionElement</code> to the map keyed with the <code>QName</code>     * 
+     * Adds the <code>ExtensionElement</code> to the map keyed with the <code>QName</code>     *
+     *
      * @param qName
      * @param element
      */
@@ -46,6 +48,7 @@
     /**
      * Will return the Element with the given <code>QName</code>
      * Returns null if not found.
+     *
      * @param qName
      * @return
      */

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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;
 
 
-
-
 /**
  * @author Chathura Herath
- *
  */
-public class ComponentImpl implements  WSDLConstants, Component{
+public class ComponentImpl implements WSDLConstants, Component {
 
     protected HashMap componentProperties = new HashMap();
-    
+
     protected Document documentation = 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.
-     * 
      */
     public HashMap getComponentProperties() {
         return componentProperties;
     }
+
     /**
      * Sets the properties of the Component if any.
      */
     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){
+    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){
+    public Object getComponentProperty(Object key) {
         return this.componentProperties.get(key);
     }
-       
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class ExtensibleComponentImpl extends ComponentImpl implements ExtensibleComponent {
 
-    
+
     private List features = null;
-    
+
     private List properties = null;
-    
+
     /**
      * Will add a <code>WSDLFeature</code> to the feature list.
-     * If feature is null it will not be added. 
-     * 
+     * If feature is null it will not be added.
+     * <p/>
      * <code>ExtensibleComponent</code>
+     *
      * @param feature
      */
-    public void addFeature(WSDLFeature feature){
-        if(null == this.features) this.features = new LinkedList();
-        
-        if(null == feature) return ;
-        
+    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();
+    public List getFeatures() {
+        if (null == this.features) return new LinkedList();
         return this.features;
     }
-    
+
     /**
      * Wll add the property to the component properties. If the property is null it will
      * not be added.
+     *
      * @param wsdlProperty
      */
-    public void addPorperty(WSDLProperty wsdlProperty){
-        if(null == this.properties) this.properties = new LinkedList();
-        
-        if(null == wsdlProperty) return;
-        
+    public void addPorperty(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();
-        
+    public List getProperties() {
+
+        if (null == this.properties) return new LinkedList();
+
         return this.properties;
     }
-    
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class ExtensionElementImpl implements ExtensionElement {
 
     private Element element;
-    
+
     private boolean required;
-    
-    
-    
+
+
     public boolean isRequired() {
         return required;
     }
+
     public void setRequired(boolean required) {
         this.required = required;
     }
+
     public Element getElement() {
         return element;
     }
+
     public void setElement(Element element) {
         this.element = element;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public class FaultReferenceImpl extends ComponentImpl implements FaultReference   {
+public class FaultReferenceImpl extends ComponentImpl implements FaultReference {
 
-	//TODO make it  a QNAME
-	private String ref;
-	
-	//TODO put the value if available ; if not message lable property of the 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 = direction;
-	}
-	
-	public String getMessageLabel() {
-		return messageLabel;
-	}
-	public void setMessageLabel(String messageLabel) {
-		this.messageLabel = messageLabel;
-	}
-	
-	/**
-	 * Returns the Fault reference.
-	 * @return
-	 */
-	public String getRef() {
-		return ref;
-	}
-	
-	/**
-	 * Sets the Fault reference.
-	 * @param ref
-	 */
-	public void setRef(String ref) {
-		this.ref = ref;
-	}
+    //TODO make it  a QNAME
+    private String ref;
+
+    //TODO put the value if available ; if not message lable property of the 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 = direction;
+    }
+
+    public String getMessageLabel() {
+        return messageLabel;
+    }
+
+    public void setMessageLabel(String messageLabel) {
+        this.messageLabel = messageLabel;
+    }
+
+    /**
+     * Returns the Fault reference.
+     *
+     * @return
+     */
+    public String getRef() {
+        return ref;
+    }
+
+    /**
+     * Sets the Fault reference.
+     *
+     * @param ref
+     */
+    public void setRef(String ref) {
+        this.ref = ref;
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author Chathura Herath
- *
  */
-public class MessageReferenceImpl  extends ExtensibleComponentImpl implements MessageReference  {
+public class MessageReferenceImpl extends ExtensibleComponentImpl implements MessageReference {
 
-			
-	//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 = 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 parts defined in WSDL 1.1
-	 * per message should be Encapsulated in this Element.
-	 */
-	public void setElement(QName element) {
-		this.element = element;
-	}
-	public String getMessageLabel() {
-		return messageLabel;
-	}
-	public void setMessageLabel(String messageLabel) {
-		this.messageLabel = 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 = 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 parts defined in WSDL 1.1
+     * per message should be Encapsulated in this Element.
+     */
+    public void setElement(QName element) {
+        this.element = element;
+    }
+
+    public String getMessageLabel() {
+        return messageLabel;
+    }
+
+    public void setMessageLabel(String messageLabel) {
+        this.messageLabel = messageLabel;
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public class WDSLPropertyImpl extends ComponentImpl implements WSDLProperty  {
+public class WDSLPropertyImpl extends ComponentImpl implements WSDLProperty {
 
-	
-	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 = constraint;
-	}
-	public String getName() {
-		return uri;
-	}
-	public void setName(String uri) {
-		this.uri = uri;
-	}
-	public Object getValue() {
-		return value;
-	}
-	public void setValue(Object value) {
-		this.value = 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 = constraint;
+    }
+
+    public String getName() {
+        return uri;
+    }
+
+    public void setName(String uri) {
+        this.uri = uri;
+    }
+
+    public Object getValue() {
+        return value;
+    }
+
+    public void setValue(Object value) {
+        this.value = value;
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLBindingFaultImpl extends ExtensibleComponentImpl implements WSDLBindingFault {
 
     private QName ref;
-    
-    
+
+
     public QName getRef() {
         return ref;
     }
+
     public void setRef(QName ref) {
         this.ref = ref;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
-public class WSDLBindingImpl extends ExtensibleComponentImpl implements WSDLBinding   {
+public class WSDLBindingImpl extends ExtensibleComponentImpl implements WSDLBinding {
+
+    private QName name;
+
+    private WSDLInterface boundInterface;
+
+    private HashMap bindingFaults = new HashMap();
+
+    private HashMap bindingOperations = new HashMap();
+
+
+    public WSDLInterface getBoundInterface() {
+        return boundInterface;
+    }
+
+    public void setBoundInterface(WSDLInterface boundInterface) {
+        this.boundInterface = boundInterface;
+    }
+
+    public QName getName() {
+        return name;
+    }
+
+    public void setName(QName name) {
+        this.name = name;
+    }
+
+    public String getTargetNameSpace() {
+        return this.name.getLocalPart();
+    }
+
 
-	private QName name;
-	
-	private WSDLInterface boundInterface;
-	
-	private HashMap bindingFaults = new HashMap();
-	
-	private HashMap bindingOperations = new HashMap();
-	
-	
-	
-	 
-	
-	
-	public WSDLInterface getBoundInterface() {
-		return boundInterface;
-	}
-	public void setBoundInterface(WSDLInterface boundInterface) {
-		this.boundInterface = boundInterface;
-	}
-	
-	public QName getName() {
-		return name;
-	}
-	public void setName(QName name) {
-		this.name = name;
-	}
-	
-	public String getTargetNameSpace() {
-		return this.name.getLocalPart();
-	}
-	
-	
-   
     public HashMap getBindingFaults() {
         return bindingFaults;
     }
+
     public void setBindingFaults(HashMap bindingFaults) {
         this.bindingFaults = bindingFaults;
     }
+
     public HashMap getBindingOperations() {
         return bindingOperations;
     }
+
     public void setBindingOperations(HashMap bindingOperations) {
         this.bindingOperations = bindingOperations;
     }
-	public void addBindingOperation(WSDLBindingOperation bindingOperation){
-	    if(null != bindingOperation)
-	        this.bindingOperations.put(bindingOperation.getName(), bindingOperation);
-	}
-	public WSDLBindingOperation getBindingOperation(QName qName){
-	    return (WSDLBindingOperation)this.bindingOperations.get(qName);
-	}
-	
-	public void addBindingFaults(WSDLBindingFault bindingFault){
-	    if(null != bindingFault)
-	        this.bindingFaults.put(bindingFault.getRef(), bindingFault);	    
-	}
-	
-	public WSDLBindingFault getBindingFault(QName ref){
-	    return (WSDLBindingFault)this.bindingFaults.get(ref);	    
-	}
-	
+
+    public void addBindingOperation(WSDLBindingOperation bindingOperation) {
+        if (null != bindingOperation)
+            this.bindingOperations.put(bindingOperation.getName(), bindingOperation);
+    }
+
+    public WSDLBindingOperation getBindingOperation(QName qName) {
+        return (WSDLBindingOperation) this.bindingOperations.get(qName);
+    }
+
+    public void addBindingFaults(WSDLBindingFault bindingFault) {
+        if (null != 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/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingMessageReferenceImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *  
  */
 public class WSDLBindingMessageReferenceImpl extends ExtensibleComponentImpl implements WSDLBindingMessageReference {
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLBindingOperationImpl extends ExtensibleComponentImpl implements WSDLBindingOperation {
 
     private QName name;
-    
+
     private WSDLOperation operation;
-    
+
     private WSDLBindingMessageReference input;
-    
+
     private WSDLBindingMessageReference output;
-    
-    
+
+
     public WSDLBindingMessageReference getInput() {
         return input;
     }
+
     public void setInput(WSDLBindingMessageReference input) {
         this.input = input;
     }
+
     public WSDLOperation getOperation() {
         return operation;
     }
+
     public void setOperation(WSDLOperation operation) {
         this.operation = operation;
     }
+
     public WSDLBindingMessageReference getOutput() {
         return output;
     }
+
     public void setOutput(WSDLBindingMessageReference output) {
         this.output = output;
     }
-    
-    
+
+
     public QName getName() {
         return name;
     }
+
     public void setName(QName name) {
         this.name = name;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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;
 
 
-
-
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLDescriptionImpl extends ComponentImpl implements WSDLDescription {
 
-	/**
-	 * The name token of WSDL 1.1 Definition.
-	 */
-    private QName wsdl1DefinitionName ;
+    /**
+     * The name token of WSDL 1.1 Definition.
+     */
+    private QName wsdl1DefinitionName;
     
     //TODO local name and the naspace name to be made static or through a Constant class.
-	
-	// 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 <code>WSDLInterface</code> objects.
-	 */
-	private HashMap wsdlInterfaces = new HashMap();
-	
-	/**
-	 * This <code>HashMap </code> is a Map of <code>WSDLBinding </code> objects. 
-	 */
-	private HashMap bindings = new HashMap();
-	
-	/**
-	 * This <code>HashMap </code> is a list of <code>WSDLService </code> objects.
-	 * Support of multiple is backed by the requirements in the specification.
-	 */
-	private HashMap services = new HashMap();
-	
-	/**
-	 * WSDL imports
-	 */
-	private ArrayList imports = new ArrayList();
-	
-	
-	/**
-	 * WSDL Includes.
-	 */
-	private ArrayList includes = 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 = new HashMap();
-	
-	/**
-	 * Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
-	 * of the Binding. 
-	 */
-	public HashMap getBindings() {
-		return bindings;
-	}
-	
-	
-	/**
-	 * 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 <code>WSDLInterface</code> objects.
+     */
+    private HashMap wsdlInterfaces = new HashMap();
+
+    /**
+     * This <code>HashMap </code> is a Map of <code>WSDLBinding </code> objects.
+     */
+    private HashMap bindings = new HashMap();
+
+    /**
+     * This <code>HashMap </code> is a list of <code>WSDLService </code> objects.
+     * Support of multiple is backed by the requirements in the specification.
+     */
+    private HashMap services = new HashMap();
+
+    /**
+     * WSDL imports
+     */
+    private ArrayList imports = new ArrayList();
+
+
+    /**
+     * WSDL Includes.
+     */
+    private ArrayList includes = 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 = new HashMap();
+
+    /**
+     * Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
+     * 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("WSDLBimding Map already contains " +
 //	    		"one or more bindings. Trying to assign a new map will loose those Bindings.");
-		this.bindings = 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 <code>WSDLBinding</code> Object
-	 */
-	public void addBinding(WSDLBinding binding){
-	    
-	    if(null == binding) return;
-	    
-	    if( null == binding.getName()) 
-	        	throw new WSDLProcessingException("The WSDLBinding name cannot be null(Required)");
-	   	    
-	    this.bindings.put(binding.getName(), binding);
-	}
-	
-	/**
-	 * Retrives the <code>WSDLBinding</code> by its QName. Wil return null
-	 * if <code>WSDLBinding</code> 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 thrown
-	 * @param interfaceComponent
-	 */
-	public void addInterface(WSDLInterface interfaceComponent){
-	    if(null == interfaceComponent) return;
-	    if(null == interfaceComponent.getName()) 
-	        throw new WSDLProcessingException("PortType/Interface name cannot be null(Required) ");
-	    
-	    this.wsdlInterfaces.put(interfaceComponent.getName(), interfaceComponent);
-	}
-		
-	
-	/**
-	 * 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);
-	}
+        this.bindings = 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 <code>WSDLBinding</code> Object
+     */
+    public void addBinding(WSDLBinding binding) {
+
+        if (null == binding) return;
+
+        if (null == binding.getName())
+            throw new WSDLProcessingException("The WSDLBinding name cannot be null(Required)");
+
+        this.bindings.put(binding.getName(), binding);
+    }
+
+    /**
+     * Retrives the <code>WSDLBinding</code> by its QName. Wil return null
+     * if <code>WSDLBinding</code> 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 thrown
+     *
+     * @param interfaceComponent
+     */
+    public void addInterface(WSDLInterface interfaceComponent) {
+        if (null == interfaceComponent) return;
+        if (null == interfaceComponent.getName())
+            throw new WSDLProcessingException("PortType/Interface name cannot be null(Required) ");
+
+        this.wsdlInterfaces.put(interfaceComponent.getName(), interfaceComponent);
+    }
+
+
+    /**
+     * 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);
+    }
+
 
-	
     public HashMap getServices() {
         return services;
     }
+
     public void setServices(HashMap services) {
         this.services = services;
     }
-    
+
+    /**
+     * Will return the <code>WSDLService </code> if found otherwise return null.
+     *
+     * @param qName <code>QName</code> of the Service
+     * @return The Service with the relavent QName
+     */
+    public WSDLService getService(QName qName) {
+        return (WSDLService) this.services.get(qName);
+
+    }
+
+
     /**
-	 * Will return the <code>WSDLService </code> if found otherwise return null.
-	 * @param qName <code>QName</code> of the Service
-	 * @return The Service with the relavent QName 
-	 */
-	public WSDLService getService(QName qName){
-	    return (WSDLService)this.services.get(qName);
-	    
-	}
-	
-	
-	/**
-	 * Will add the <code>WSDLService</code> to the Map.
-	 * If object is null it will not be added.
-	 * If the <code>WSDLService</code> name is null a <code>WSDLProcessingException</code>
-	 * will be thrown.(its required)
-	 * @param service
-	 */
-    public void addService(WSDLService service){
-        if(null == service) return;
-        
-        if(null == service.getName()) throw new WSDLProcessingException("The WSDLService name cannot be null (Required)");
-        
+     * Will add the <code>WSDLService</code> to the Map.
+     * If object is null it will not be added.
+     * If the <code>WSDLService</code> name is null a <code>WSDLProcessingException</code>
+     * will be thrown.(its required)
+     *
+     * @param service
+     */
+    public void addService(WSDLService service) {
+        if (null == service) return;
+
+        if (null == service.getName()) throw new WSDLProcessingException("The WSDLService name cannot be null (Required)");
+
         this.services.put(service.getName(), service);
     }
-    
-	public String getTargetNameSpace() {
-		return targetNameSpace;
-	}
-	public void setTargetNameSpace(String targetNameSpace) {
-		this.targetNameSpace = targetNameSpace;
-	}
-	
-	public HashMap getWsdlInterfaces() {
-		return wsdlInterfaces;
-	}
-	public void setWsdlInterfaces(HashMap wsdlInterfaces) {
-		this.wsdlInterfaces = wsdlInterfaces;
-	}
+
+    public String getTargetNameSpace() {
+        return targetNameSpace;
+    }
+
+    public void setTargetNameSpace(String targetNameSpace) {
+        this.targetNameSpace = targetNameSpace;
+    }
+
+    public HashMap getWsdlInterfaces() {
+        return wsdlInterfaces;
+    }
+
+    public void setWsdlInterfaces(HashMap wsdlInterfaces) {
+        this.wsdlInterfaces = wsdlInterfaces;
+    }
+
     public WSDLTypes getTypes() {
         return types;
     }
+
     public void setTypes(WSDLTypes types) {
         this.types = types;
     }
+
     /**
-     * Gets the name attrebute of the WSDL 1.1 Definitions Element 
+     * Gets the name attrebute of the WSDL 1.1 Definitions Element
+     *
      * @return
      */
     public QName getWSDL1DefinitionName() {
         return wsdl1DefinitionName;
     }
-    
+
     /**
      * Sets the name attrebute of the WSDL 1.1 Definitions Element
+     *
      * @param wsdl1DefinitionName
      */
     public void setWSDL1DefinitionName(QName wsdl1DefinitionName) {
         this.wsdl1DefinitionName = 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;
     }
-    
+
     /**
      * 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 = namespaces;
     }
-    
-    
+
+
     /**
-     * Will return the Namespace URI as a String if there exists an 
+     * 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 == prefix){
+    public String getNamespace(String prefix) {
+        if (null == prefix) {
             return null;
         }
-        
+
         return (String) this.namespaces.get(prefix);
     }
-    
+
     /**
      * Returns the WSDL Imports in an <code>ArrayList</code>
+     *
      * @return
      */
     public ArrayList getImports() {
         return imports;
     }
-    
+
     /**
      * Sets the imports as an <code>ArrayList</code>
+     *
      * @param imports
      */
     public void setImports(ArrayList imports) {
         this.imports = imports;
     }
-    
+
     /**
      * Adds an import to the list.
+     *
      * @param wsdlImport
      */
-    public void addImports(WSDLImport wsdlImport){
+    public void addImports(WSDLImport wsdlImport) {
         this.imports.add(wsdlImport);
     }
-    
+
     /**
      * Returns the Includes as an <code>ArrayList</code>
+     *
      * @return
-     */    
+     */
     public ArrayList getIncludes() {
         return includes;
     }
-    
+
     /**
      * Sets the includes as an <code>Arraylist</code>
+     *
      * @param includes
      */
     public void setIncludes(ArrayList includes) {
         this.includes = includes;
     }
-    
+
     /**
      * Adds the WSDL Include to the list.
+     *
      * @param wsdlInclude
      */
-    public void addInclude(WSDLInclude wsdlInclude){
+    public void addInclude(WSDLInclude wsdlInclude) {
         this.includes.add(wsdlInclude);
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLDescription</code>
      */
-    public WSDLDescription createDescription(){
-        
+    public WSDLDescription createDescription() {
+
         return new WSDLDescriptionImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLService</code>
      */
-    public WSDLService createService(){
-        
-        return new WSDLServiceImpl();        
-    }    
-    
+    public WSDLService createService() {
+
+        return new WSDLServiceImpl();
+    }
+
     /**
-     * 
      * @return A new instance of type <code>WSDLInterface</code>
      */
-    public WSDLInterface createInterface(){
-        
+    public WSDLInterface createInterface() {
+
         return new WSDLInterfaceImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLTypes</code>
      */
-    public WSDLTypes createTypes(){
-        
+    public WSDLTypes createTypes() {
+
         return new WSDLTypesImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLBinding</code>
      */
-    public WSDLBinding createBinding(){
-        
+    public WSDLBinding createBinding() {
+
         return new WSDLBindingImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLOperation</code>
      */
-    public WSDLOperation createOperation(){
-        
+    public WSDLOperation createOperation() {
+
         return new WSDLOperationImpl();
-    }    
+    }
 
     /**
-     * 
      * @return A new instance of type <code>WSDLEndpoint</code>
      */
-    public WSDLEndpoint createEndpoint(){
-        
+    public WSDLEndpoint createEndpoint() {
+
         return new WSDLEndpointImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLFault</code>
      */
-    public WSDLFault createFault(){
-        
+    public WSDLFault createFault() {
+
         return new WSDLFaultImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLFeature</code>
      */
-    public WSDLFeature createFeature(){
-        
+    public WSDLFeature createFeature() {
+
         return new WSDLFeatureImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLImport</code>
      */
-    public WSDLImport createImport(){
-        
+    public WSDLImport createImport() {
+
         return new WSDLImportImpl();
     }
-    
+
     /**
-     * 
      * @return A new instance of type <code>WSDLInclude</code>
      */
-    public WSDLInclude createInclude(){
-        
+    public WSDLInclude createInclude() {
+
         return new WSDLIncludeImpl();
     }
-    
-    public WSDLProperty createProperty(){
-        
+
+    public WSDLProperty createProperty() {
+
         return new WSDLPropertyImpl();
     }
-    
-    
+
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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;
 
 
-
 /**
  * @author chathura@opensource.lk
- *
  */
-public class WSDLEndpointImpl extends  ComponentImpl implements WSDLEndpoint {
+public class WSDLEndpointImpl extends ComponentImpl implements WSDLEndpoint {
 
     private QName name;
-    
+
     private WSDLBinding binding;
-    
+
     public WSDLBinding getBinding() {
         return binding;
     }
+
     public void setBinding(WSDLBinding binding) {
         this.binding = binding;
     }
+
     public QName getName() {
         return name;
     }
+
     public void setName(QName name) {
         this.name = name;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLFaultImpl extends ComponentImpl implements WSDLFault {
-	
-	//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 = element;
-	}
-	public String getName() {
-		return name;
-	}
-	public void setName(String name) {
-		this.name = 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 = element;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLFeatureImpl extends ComponentImpl implements WSDLFeature {
 
-	
-	private String name;
-	
-	private boolean required;
-	
-	
-	public String getName() {
-		return name;
-	}
-	public void setName(String name) {
-		this.name = name;
-	}
-	public boolean isRequired() {
-		return required;
-	}
-	public void setRequired(boolean required) {
-		this.required = required;
-	}
+
+    private String name;
+
+    private boolean required;
+
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public boolean isRequired() {
+        return required;
+    }
+
+    public void setRequired(boolean required) {
+        this.required = required;
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLImportImpl extends ComponentImpl implements WSDLImport {
-    
+
     private String location;
-    
+
     private String namespace;
-    
-    
-    
+
+
     /**
      * Gets the location URI of the Include.
+     *
      * @return
      */
     public String getLocation() {
         return location;
     }
-    
+
     /**
      * Sets the location URI of the Include.
+     *
      * @param loaction
      */
     public void setLocation(String location) {
         this.location = location;
     }
-    
+
     /**
      * Returns the namespace URI
+     *
      * @return
      */
     public String getNamespace() {
         return namespace;
     }
-    
+
     /**
      * Sets the namespace URI.
+     *
      * @param namespace
      */
     public void setNamespace(String namespace) {

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/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=diff&r1=153901&r2=153902
==============================================================================
--- 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 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public class WSDLIncludeImpl extends ComponentImpl implements WSDLInclude {
 
@@ -27,22 +26,24 @@
      * URI of the include Location.
      */
     private String loaction;
-    
+
     /**
      * Gets the location URI of the Include.
+     *
      * @return
      */
     public String getLoaction() {
         return loaction;
     }
-    
+
     /**
      * Sets the location URI of the Include.
+     *
      * @param loaction
      */
     public void setLoaction(String loaction) {
         this.loaction = loaction;
     }
-    
-    
+
+
 }