axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r153902 [2/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/
Date Tue, 15 Feb 2005 06:23:25 GMT
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java Mon Feb 14 22:22:34 2005
@@ -15,54 +15,53 @@
  */
 package org.apache.axis.description;
 
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-
-import javax.swing.text.Style;
-import javax.xml.namespace.QName;
-
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.Provider;
 import org.apache.wsdl.WSDLService;
 import org.apache.wsdl.impl.WSDLServiceImpl;
 
+import javax.swing.text.Style;
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+
 
-public class AxisService extends WSDLServiceImpl implements WSDLService,ParameterInclude,FlowInclude,PhasesInclude , DescriptionConstants{
+public class AxisService extends WSDLServiceImpl implements WSDLService, ParameterInclude, FlowInclude, PhasesInclude, DescriptionConstants {
 
     protected HashMap operationsMap = new HashMap();
 
-    public AxisService(){
-        this.setComponentProperty(MODULEREF_KEY,new ArrayList());
+    public AxisService() {
+        this.setComponentProperty(MODULEREF_KEY, new ArrayList());
         this.setComponentProperty(PARAMETER_KEY, new ParameterIncludeImpl());
         this.setComponentProperty(PHASES_KEY, new PhasesIncludeImpl());
     }
-    
-    public AxisService(QName qName){
+
+    public AxisService(QName qName) {
         this();
-        this.setName(qName);        
+        this.setName(qName);
     }
-    
+
     /* (non-Javadoc)
      * @see org.apache.axis.description.AxisService#addModule(javax.xml.namespace.QName)
      */
     public void addModule(QName moduleref) {
-        if( moduleref == null)return;
-       Collection collectionModule = (Collection) this.getComponentProperty(MODULEREF_KEY);
-       collectionModule.add(moduleref);
+        if (moduleref == null) return;
+        Collection collectionModule = (Collection) this.getComponentProperty(MODULEREF_KEY);
+        collectionModule.add(moduleref);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.AxisService#getModules()
      */
     public Collection getModules() {
-        return (Collection)this.getComponentProperty(MODULEREF_KEY);
+        return (Collection) this.getComponentProperty(MODULEREF_KEY);
     }
 
     public AxisOperation getOperation(QName operationName) {
         //todo The key has been changed from the qname to the local name because
         //todo when comparing the namespace will not be available
-        return (AxisOperation)this.operationsMap.get(operationName.getLocalPart());
+        return (AxisOperation) this.operationsMap.get(operationName.getLocalPart());
     }
 
     /* (non-Javadoc)
@@ -71,8 +70,8 @@
     public void addOperation(AxisOperation operation) {
         //todo The key has been changed from the qname to the local name because
         //todo when comparing the namespace will not be available
-        if(operation != null){
-            this.operationsMap.put(operation.getName().getLocalPart(),operation);
+        if (operation != null) {
+            this.operationsMap.put(operation.getName().getLocalPart(), operation);
         }
     }
 
@@ -80,7 +79,7 @@
      * @see org.apache.axis.description.AxisService#setClassLoader(java.lang.ClassLoader)
      */
     public void setClassLoader(ClassLoader classLoader) {
-        if(classLoader != null){
+        if (classLoader != null) {
             this.setComponentProperty(CLASSLOADER_KEY, classLoader);
         }
     }
@@ -89,14 +88,14 @@
      * @see org.apache.axis.description.AxisService#getClassLoader()
      */
     public ClassLoader getClassLoader() {
-        return (ClassLoader)this.getComponentProperty(CLASSLOADER_KEY);
+        return (ClassLoader) this.getComponentProperty(CLASSLOADER_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.AxisService#setContextPath(java.lang.String)
      */
     public void setContextPath(String contextPath) {
-        if(contextPath != null){
+        if (contextPath != null) {
             this.setComponentProperty(CONTEXTPATH_KEY, contextPath);
         }
     }
@@ -105,14 +104,14 @@
      * @see org.apache.axis.description.AxisService#getContextPath()
      */
     public String getContextPath() {
-        return (String)this.getComponentProperty(CONTEXTPATH_KEY);
+        return (String) this.getComponentProperty(CONTEXTPATH_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.AxisService#setProvider(org.apache.axis.engine.Provider)
      */
     public void setProvider(Provider provider) {
-        if(provider != null){
+        if (provider != null) {
             this.setComponentProperty(PROVIDER_KEY, provider);
         }
     }
@@ -121,14 +120,14 @@
      * @see org.apache.axis.description.AxisService#getProvider()
      */
     public Provider getProvider() {
-        return (Provider)this.getComponentProperty(PROVIDER_KEY);
+        return (Provider) this.getComponentProperty(PROVIDER_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.AxisService#setStyle(javax.swing.text.Style)
      */
     public void setStyle(Style style) {
-        if(style != null){
+        if (style != null) {
             this.setComponentProperty(STYLE_KEY, style);
         }
     }
@@ -137,35 +136,35 @@
      * @see org.apache.axis.description.AxisService#getStyle()
      */
     public Style getStyle() {
-        return (Style)this.getComponentProperty(STYLE_KEY);
+        return (Style) this.getComponentProperty(STYLE_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.PhasesInclude#getPhases(java.util.ArrayList, int)
      */
-    public void setPhases(ArrayList phases, int flow) throws AxisFault{
-        if(phases == null) return;
+    public void setPhases(ArrayList phases, int flow) throws AxisFault {
+        if (phases == null) return;
         PhasesIncludeImpl phaseInclude =
-            (PhasesIncludeImpl)this.getComponentProperty(PHASES_KEY);
+                (PhasesIncludeImpl) this.getComponentProperty(PHASES_KEY);
         phaseInclude.setPhases(phases, flow);
     }
-    
+
     /* (non-Javadoc)
      * @see org.apache.axis.description.PhasesInclude#getPhases(int)
      */
-    public ArrayList getPhases(int flow) throws AxisFault{
+    public ArrayList getPhases(int flow) throws AxisFault {
         PhasesIncludeImpl phaseInclude =
-            (PhasesIncludeImpl)this.getComponentProperty(PHASES_KEY);
-        return(ArrayList)phaseInclude.getPhases(flow);
+                (PhasesIncludeImpl) this.getComponentProperty(PHASES_KEY);
+        return (ArrayList) phaseInclude.getPhases(flow);
     }
-    
+
     /* (non-Javadoc)
      * @see org.apache.axis.description.ParameterInclude#addParameter(org.apache.axis.description.Parameter)
      */
     public void addParameter(Parameter param) {
-        if(param == null) return;
+        if (param == null) return;
         ParameterIncludeImpl paramInclude =
-             (ParameterIncludeImpl)this.getComponentProperty(PARAMETER_KEY);
+                (ParameterIncludeImpl) this.getComponentProperty(PARAMETER_KEY);
         paramInclude.addParameter(param);
     }
 
@@ -173,22 +172,22 @@
      * @see org.apache.axis.description.ParameterInclude#getParameter(java.lang.String)
      */
     public Parameter getParameter(String name) {
-        ParameterIncludeImpl paramInclude = (ParameterIncludeImpl)this.getComponentProperty(PARAMETER_KEY);
-        return (Parameter)paramInclude.getParameter(name);
+        ParameterIncludeImpl paramInclude = (ParameterIncludeImpl) this.getComponentProperty(PARAMETER_KEY);
+        return (Parameter) paramInclude.getParameter(name);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.FlowInclude#getInFlow()
      */
     public Flow getInFlow() {
-        return (Flow)this.getComponentProperty(INFLOW_KEY);
+        return (Flow) this.getComponentProperty(INFLOW_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.FlowInclude#setInFlow(org.apache.axis.description.Flow)
      */
     public void setInFlow(Flow inFlow) {
-        if(inFlow != null){
+        if (inFlow != null) {
             this.setComponentProperty(INFLOW_KEY, inFlow);
         }
     }
@@ -197,14 +196,14 @@
      * @see org.apache.axis.description.FlowInclude#getOutFlow()
      */
     public Flow getOutFlow() {
-        return (Flow)this.getComponentProperty(OUTFLOW_KEY);
+        return (Flow) this.getComponentProperty(OUTFLOW_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.FlowInclude#setOutFlow(org.apache.axis.description.Flow)
      */
-    public void setOutFlow(Flow outFlow){
-        if(outFlow != null){
+    public void setOutFlow(Flow outFlow) {
+        if (outFlow != null) {
             this.setComponentProperty(OUTFLOW_KEY, outFlow);
         }
     }
@@ -213,25 +212,25 @@
      * @see org.apache.axis.description.FlowInclude#getFaultFlow()
      */
     public Flow getFaultFlow() {
-        return (Flow)this.getComponentProperty(FAULTFLOW_KEY);
+        return (Flow) this.getComponentProperty(FAULTFLOW_KEY);
     }
 
     /* (non-Javadoc)
      * @see org.apache.axis.description.FlowInclude#setFaultFlow(org.apache.axis.description.Flow)
      */
     public void setFaultFlow(Flow faultFlow) {
-        if(faultFlow != null){
+        if (faultFlow != null) {
             this.setComponentProperty(FAULTFLOW_KEY, faultFlow);
         }
     }
-    
+
     public void setServiceClass(Class serviceclass) {
-        if(serviceclass != null)
+        if (serviceclass != null)
             this.setComponentProperty(DescriptionConstants.SERVICE_CLASS, serviceclass);
     }
 
     public Class getServiceClass() {
-        return (Class)this.getComponentProperty(DescriptionConstants.SERVICE_CLASS);
+        return (Class) this.getComponentProperty(DescriptionConstants.SERVICE_CLASS);
     }
 
     public HashMap getOperations() {

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java Mon Feb 14 22:22:34 2005
@@ -15,28 +15,27 @@
  */
 package org.apache.axis.description;
 
-import java.util.ArrayList;
+import org.apache.axis.engine.AxisFault;
 
 import javax.xml.namespace.QName;
-
-import org.apache.axis.engine.AxisFault;
+import java.util.ArrayList;
 
 /**
  * Represents a transport deployed in AXis2
  */
-public class AxisTransport implements ParameterInclude,PhasesInclude,FlowInclude {
+public class AxisTransport implements ParameterInclude, PhasesInclude, FlowInclude {
     protected ParameterInclude paramInclude;
     protected PhasesInclude phasesInclude;
     private FlowInclude flowInclude;
-    protected QName name; 
-    
-    public AxisTransport(QName name){
+    protected QName name;
+
+    public AxisTransport(QName name) {
         paramInclude = new ParameterIncludeImpl();
         phasesInclude = new PhasesIncludeImpl();
         flowInclude = new FlowIncludeImpl();
         this.name = name;
     }
-    
+
     public Parameter getParameter(String name) {
         return paramInclude.getParameter(name);
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/DescriptionConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/DescriptionConstants.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/DescriptionConstants.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/DescriptionConstants.java Mon Feb 14 22:22:34 2005
@@ -17,7 +17,6 @@
 
 /**
  * @author chathura@opensource.lk
- *
  */
 public interface DescriptionConstants {
     public static final String EXECUTION_CHAIN_KEY = "EXECUTION_CHAIN_KEY";

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Flow.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Flow.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Flow.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Flow.java Mon Feb 14 22:22:34 2005
@@ -17,11 +17,13 @@
 package org.apache.axis.description;
 
 /**
- * Represents logical collection of handlers. The order of Handlers do not have 
+ * Represents logical collection of handlers. The order of Handlers do not have
  * any symantics.
  */
-public interface Flow{
+public interface Flow {
     public int getHandlerCount();
+
     public HandlerMetaData getHandler(int index);
+
     public void addHandler(HandlerMetaData handler);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowImpl.java Mon Feb 14 22:22:34 2005
@@ -21,17 +21,21 @@
 import java.util.List;
 
 public class FlowImpl implements Flow {
-   protected List list;
-   public FlowImpl(){
+    protected List list;
+
+    public FlowImpl() {
         list = new ArrayList();
-   }
-   public void addHandler(HandlerMetaData handler) {
-       list.add(handler);
-   }
-   public HandlerMetaData getHandler(int index) {
-       return (HandlerMetaData)list.get(index);
-   }
-   public int getHandlerCount() {
-       return list.size();
-   }
+    }
+
+    public void addHandler(HandlerMetaData handler) {
+        list.add(handler);
+    }
+
+    public HandlerMetaData getHandler(int index) {
+        return (HandlerMetaData) list.get(index);
+    }
+
+    public int getHandlerCount() {
+        return list.size();
+    }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java Mon Feb 14 22:22:34 2005
@@ -19,10 +19,15 @@
 public interface FlowInclude {
     //Flow include
     public Flow getInFlow();
+
     public void setInFlow(Flow inFlow);
+
     public Flow getOutFlow();
+
     public void setOutFlow(Flow outFlow);
+
     public Flow getFaultFlow();
+
     public void setFaultFlow(Flow faultFlow);
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowIncludeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowIncludeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowIncludeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowIncludeImpl.java Mon Feb 14 22:22:34 2005
@@ -16,10 +16,11 @@
 package org.apache.axis.description;
 
 
-public class FlowIncludeImpl implements FlowInclude{
+public class FlowIncludeImpl implements FlowInclude {
     private Flow in;
     private Flow out;
     private Flow fault;
+
     public Flow getFaultFlow() {
         return fault;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java Mon Feb 14 22:22:34 2005
@@ -15,30 +15,30 @@
  */
 package org.apache.axis.description;
 
-import javax.xml.namespace.QName;
-
 import org.apache.axis.engine.Handler;
 
+import javax.xml.namespace.QName;
+
 /**
  * represent the deployment information about the handler
  */
-public class HandlerMetaData implements ParameterInclude{
-    private  ParameterInclude parameterInclude;
+public class HandlerMetaData implements ParameterInclude {
+    private ParameterInclude parameterInclude;
     private QName name;
     private PhaseRule rules;
     private Handler handler;
     private String className;
 
 
-    public HandlerMetaData(){
-       this.parameterInclude = new ParameterIncludeImpl();
-       this.rules = new PhaseRule();
+    public HandlerMetaData() {
+        this.parameterInclude = new ParameterIncludeImpl();
+        this.rules = new PhaseRule();
     }
 
-	public HandlerMetaData(QName name){
-		this();
-		this.name = name;
-	}
+    public HandlerMetaData(QName name) {
+        this();
+        this.name = name;
+    }
 
     /**
      * @return

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Parameter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Parameter.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Parameter.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/Parameter.java Mon Feb 14 22:22:34 2005
@@ -18,13 +18,19 @@
 
 public interface Parameter {
     public static int TEXT_PARAMETER = 0;
-    public static int DOM_PARAMETER = 1; 
-    
+    public static int DOM_PARAMETER = 1;
+
     public String getName();
+
     public Object getValue();
-    public void setName(String name) ;
+
+    public void setName(String name);
+
     public void setValue(String value);
+
     public boolean isLocked();
+
     public void setLocked(boolean value);
+
     public int getParameterType();
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterImpl.java Mon Feb 14 22:22:34 2005
@@ -16,7 +16,7 @@
 package org.apache.axis.description;
 
 
-public class ParameterImpl implements Parameter  {
+public class ParameterImpl implements Parameter {
     private String name;
     private String value;
     private boolean locked;
@@ -54,6 +54,7 @@
     public Object getValue() {
         return value;
     }
+
     public int getParameterType() {
         return type;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java Mon Feb 14 22:22:34 2005
@@ -19,5 +19,6 @@
 public interface ParameterInclude {
     //parameters
     public void addParameter(Parameter param);
+
     public Parameter getParameter(String name);
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterIncludeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterIncludeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterIncludeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterIncludeImpl.java Mon Feb 14 22:22:34 2005
@@ -20,16 +20,18 @@
 
 public class ParameterIncludeImpl implements ParameterInclude {
     protected HashMap parmeters;
-    public ParameterIncludeImpl(){
+
+    public ParameterIncludeImpl() {
         parmeters = new HashMap();
     }
+
     public void addParameter(Parameter param) {
-        if(param != null){
-            parmeters.put(param.getName(),param);
+        if (param != null) {
+            parmeters.put(param.getName(), param);
         }
     }
 
     public Parameter getParameter(String name) {
-        return (Parameter)parmeters.get(name);
+        return (Parameter) parmeters.get(name);
     }
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesInclude.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesInclude.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesInclude.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesInclude.java Mon Feb 14 22:22:34 2005
@@ -15,20 +15,22 @@
  */
 package org.apache.axis.description;
 
-import java.util.ArrayList;
-
 import org.apache.axis.engine.AxisFault;
 
+import java.util.ArrayList;
+
 
 public interface PhasesInclude {
     /**
      * When the Phases are resolved they are added to the EngineRegistry as phases at deploy time.
-     * At the runtime they are used to create the ExecutionChain at the runtime whic resides in the 
+     * At the runtime they are used to create the ExecutionChain at the runtime whic resides in the
      * MessageContext.
+     *
      * @param flow
      * @return
      */
-    
-    public ArrayList getPhases(int flow)throws AxisFault;
-    public void setPhases(ArrayList phases,int flow)throws AxisFault;
+
+    public ArrayList getPhases(int flow) throws AxisFault;
+
+    public void setPhases(ArrayList phases, int flow) throws AxisFault;
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesIncludeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesIncludeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesIncludeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhasesIncludeImpl.java Mon Feb 14 22:22:34 2005
@@ -15,40 +15,40 @@
  */
 package org.apache.axis.description;
 
-import java.util.ArrayList;
-
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.EngineRegistry;
 
+import java.util.ArrayList;
+
 /**
- * Util class to implements the Phases include with delegation 
+ * Util class to implements the Phases include with delegation
  */
-public class PhasesIncludeImpl implements PhasesInclude{
+public class PhasesIncludeImpl implements PhasesInclude {
     private ArrayList inflow;
     private ArrayList outflow;
     private ArrayList faultflow;
-    
+
     public ArrayList getPhases(int flow) throws AxisFault {
-        if(flow == EngineRegistry.INFLOW){
+        if (flow == EngineRegistry.INFLOW) {
             return inflow;
-        }else if(flow == EngineRegistry.OUTFLOW){
+        } else if (flow == EngineRegistry.OUTFLOW) {
             return outflow;
-        }else if(flow == EngineRegistry.FAULTFLOW){
+        } else if (flow == EngineRegistry.FAULTFLOW) {
             return faultflow;
-        }else{
+        } else {
             throw new AxisFault("Unknown type flow ");
         }
 
     }
 
     public void setPhases(ArrayList phases, int flow) throws AxisFault {
-        if(flow == EngineRegistry.INFLOW){
+        if (flow == EngineRegistry.INFLOW) {
             inflow = phases;
-        }else if(flow == EngineRegistry.OUTFLOW){
-            outflow= phases;
-        }else if(flow == EngineRegistry.FAULTFLOW){
+        } else if (flow == EngineRegistry.OUTFLOW) {
+            outflow = phases;
+        } else if (flow == EngineRegistry.FAULTFLOW) {
             faultflow = phases;
-        }else{
+        } else {
             throw new AxisFault("Unknown type flow ");
         }
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/SimpleAxisOperationImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/SimpleAxisOperationImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/SimpleAxisOperationImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/SimpleAxisOperationImpl.java Mon Feb 14 22:22:34 2005
@@ -15,21 +15,20 @@
  */
 package org.apache.axis.description;
 
-import java.util.HashMap;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
 import org.apache.wsdl.MessageReference;
 import org.apache.wsdl.WSDLFeature;
 import org.apache.wsdl.WSDLOperation;
 import org.apache.wsdl.WSDLProperty;
 import org.apache.wsdl.impl.WSDLOperationImpl;
 
+import javax.xml.namespace.QName;
+import java.util.HashMap;
+import java.util.List;
+
 public class SimpleAxisOperationImpl implements AxisOperation {
     protected WSDLOperation wsdlOperation;
     protected ParameterInclude parameters;
-    
+
     /**
      * 
      */
@@ -38,7 +37,7 @@
         parameters = new ParameterIncludeImpl();
     }
 
-     public SimpleAxisOperationImpl(QName name) {
+    public SimpleAxisOperationImpl(QName name) {
         wsdlOperation = new WSDLOperationImpl();
         wsdlOperation.setName(name);
         parameters = new ParameterIncludeImpl();
@@ -176,6 +175,7 @@
     public void setMessageExchangePattern(String messageExchangePattern) {
         wsdlOperation.setMessageExchangePattern(messageExchangePattern);
     }
+
     /**
      * @param key
      * @param obj
@@ -198,7 +198,7 @@
         wsdlOperation.setInputMessage(inputMessage);
     }
 
-   
+
     /**
      * @param name
      */
@@ -234,6 +234,5 @@
         wsdlOperation.setStyle(style);
     }
 
-    
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java Mon Feb 14 22:22:34 2005
@@ -22,7 +22,7 @@
 import org.apache.axis.description.AxisTransport;
 import org.apache.axis.om.OMFactory;
 import org.apache.axis.om.SOAPEnvelope;
-import org.apache.axis.transport.*;
+import org.apache.axis.transport.TransportSenderLocator;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -40,22 +40,22 @@
     }
 
     public void send(MessageContext context) throws AxisFault {
-        executeOutFlow(context,EngineRegistry.OUTFLOW);
+        executeOutFlow(context, EngineRegistry.OUTFLOW);
         log.info("end the send()");
     }
 
     public void receive(MessageContext context) throws AxisFault {
         try {
-  //          org.TimeRecorder.START = System.currentTimeMillis();
-			log.info("starting the out flow");
-			//let us always start with a fresh EC
+            //          org.TimeRecorder.START = System.currentTimeMillis();
+            log.info("starting the out flow");
+            //let us always start with a fresh EC
             context.setExecutionChain(new ExecutionChain());
             ExecutionChain chain = context.getExecutionChain();
             
             // Receiving is always a matter of running the transport handlers first
             AxisTransport transport = context.getTransport();
             if (transport != null) {
-            	log.info("Using the transport" + transport.getName());
+                log.info("Using the transport" + transport.getName());
                 chain.addPhases(transport.getPhases(EngineRegistry.INFLOW));
             }
             //Add the phases that are are at Global scope
@@ -70,7 +70,7 @@
             
             //Start rolling the Service Handlers will,be added by the Dispatcher 
             chain.invoke(context);
-			log.info("ending the out flow");
+            log.info("ending the out flow");
 //            org.TimeRecorder.END = System.currentTimeMillis();
 //            org.TimeRecorder.dump();
         } catch (Throwable e) {
@@ -78,35 +78,34 @@
         }
     }
 
-    private void handleFault(
-        MessageContext context,
-        Throwable e)
-        throws AxisFault {
+    private void handleFault(MessageContext context,
+                             Throwable e)
+            throws AxisFault {
         boolean serverSide = context.isServerSide();
-		log.error("Error Ocurred", e);
-        if(serverSide && !context.isProcessingFault()){    
+        log.error("Error Ocurred", e);
+        if (serverSide && !context.isProcessingFault()) {
             AxisService service = context.getService();
             context.setProcessingFault(true);
             
             //create a SOAP envelope with the Fault
             SOAPEnvelope envelope =
-                OMFactory.newInstance().getDefaultEnvelope();
+                    OMFactory.newInstance().getDefaultEnvelope();
             //TODO do we need to set old Headers back?
-            envelope.getBody().addFault(new AxisFault("",e));
+            envelope.getBody().addFault(new AxisFault("", e));
             context.setEnvelope(envelope);
             //send the error
-            executeOutFlow(context,EngineRegistry.FAULTFLOW);
-        }else if (!serverSide){
+            executeOutFlow(context, EngineRegistry.FAULTFLOW);
+        } else if (!serverSide) {
             //if at the client side throw the exception
-            throw new AxisFault("",e);
-        }else{
+            throw new AxisFault("", e);
+        } else {
             //TODO log and exit
             log.error("Error in fault flow", e);
         }
     }
 
 
-    private void executeOutFlow(MessageContext context,int flow) throws AxisFault{
+    private void executeOutFlow(MessageContext context, int flow) throws AxisFault {
         try {
             context.setExecutionChain(new ExecutionChain());
             ExecutionChain chain = context.getExecutionChain();
@@ -116,16 +115,16 @@
                 //what are we suppose to do in the client side 
                 //how the client side handlers are deployed ??? this is a hack and no client side handlers
                 chain.addPhases(service.getPhases(flow));
-            }else{
-                if(context.isServerSide() && !context.isProcessingFault()){
+            } else {
+                if (context.isServerSide() && !context.isProcessingFault()) {
                     throw new AxisFault("in Server Side there must be service object");
                 }
             }
             //Add the phases that are are at Global scope
             AxisGlobal global = context.getGlobalContext().getRegistry().getGlobal();
             chain.addPhases(global.getPhases(flow));
-            
-                        // Receiving is always a matter of running the transport handlers first
+
+            // Receiving is always a matter of running the transport handlers first
             AxisTransport transport = context.getTransport();
             if (transport != null) {
                 chain.addPhases(transport.getPhases(flow));

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Dispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Dispatcher.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Dispatcher.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Dispatcher.java Mon Feb 14 22:22:34 2005
@@ -16,8 +16,6 @@
 
 package org.apache.axis.engine;
 
-import javax.xml.namespace.QName;
-
 import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.description.AxisService;
@@ -25,14 +23,17 @@
 import org.apache.axis.handlers.AbstractHandler;
 import org.apache.axis.handlers.OpNameFinder;
 
+import javax.xml.namespace.QName;
+
 public class Dispatcher extends AbstractHandler implements Handler {
-	public static final QName NAME = new QName("http://axis.ws.apache.org","Disapatcher");
-	public Dispatcher(){
-		init(new HandlerMetaData(NAME));
-	}
-	
-    public void invoke(MessageContext msgctx) throws AxisFault{
-        if(msgctx.isServerSide()){
+    public static final QName NAME = new QName("http://axis.ws.apache.org", "Disapatcher");
+
+    public Dispatcher() {
+        init(new HandlerMetaData(NAME));
+    }
+
+    public void invoke(MessageContext msgctx) throws AxisFault {
+        if (msgctx.isServerSide()) {
             String uri = null;
             EndpointReference toEPR = msgctx.getTo();
             String filePart = toEPR.getAddress();
@@ -40,7 +41,7 @@
 
             String pattern = "services/";
             int serviceIndex = 0;
-            if((serviceIndex = filePart.indexOf(pattern)) > 0){
+            if ((serviceIndex = filePart.indexOf(pattern)) > 0) {
                 uri = filePart.substring(serviceIndex + pattern.length());
 
             }
@@ -60,7 +61,7 @@
                 }
             }
             if (serviceName != null) {
-            	EngineRegistry registry = msgctx.getGlobalContext().getRegistry();
+                EngineRegistry registry = msgctx.getGlobalContext().getRegistry();
                 AxisService service = registry.getService(serviceName);
                 if (service != null) {
                     msgctx.setService(service);
@@ -68,17 +69,17 @@
                     ExecutionChain chain = msgctx.getExecutionChain();
                     chain.addPhases(service.getPhases(EngineRegistry.INFLOW));
                     //add invoke Phase
-                    Phase invokePhase = new Phase(Phase.SERVICE_INVOCATION);                    
+                    Phase invokePhase = new Phase(Phase.SERVICE_INVOCATION);
                     invokePhase.addHandler(new OpNameFinder());
                     invokePhase.addHandler(ReceiverLocator.locateReceiver(msgctx));
                     chain.addPhase(invokePhase);
                 } else {
                     throw new AxisFault("Service " + serviceName + " is not found");
                 }
-            }else{
+            } else {
                 throw new AxisFault("Both the URI and SOAP_ACTION Is Null");
             }
-        }else{
+        } else {
             //TODO client side service Dispatch ,, What this really mean?
         }
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java Mon Feb 14 22:22:34 2005
@@ -17,47 +17,53 @@
 package org.apache.axis.engine;
 
 
-import java.util.ArrayList;
-import java.util.HashMap;
-
-import javax.xml.namespace.QName;
-
 import org.apache.axis.description.AxisGlobal;
 import org.apache.axis.description.AxisModule;
 import org.apache.axis.description.AxisService;
 import org.apache.axis.description.AxisTransport;
 
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.HashMap;
+
 /**
- *  The palce where all the Globel states of Axis is kept. 
- *  All the Global states kept in the <code>EngineRegistry</code> and all the 
- *  Service states kept in the <code>MessageContext</code>. Other runtime
- *  artifacts does not keep states foward from the execution.  
+ * The palce where all the Globel states of Axis is kept.
+ * All the Global states kept in the <code>EngineRegistry</code> and all the
+ * Service states kept in the <code>MessageContext</code>. Other runtime
+ * artifacts does not keep states foward from the execution.
  */
 
 public interface EngineRegistry {
     public static final int INFLOW = 10003;
     public static final int OUTFLOW = 10004;
-    public static final int FAULTFLOW = 10005; 
+    public static final int FAULTFLOW = 10005;
+
+    public AxisGlobal getGlobal() throws AxisFault;
+
+    public AxisService getService(QName name) throws AxisFault;
+
+    public void addService(AxisService service) throws AxisFault;
+
+    public void removeService(QName name) throws AxisFault;
 
-    public AxisGlobal getGlobal()throws AxisFault;
-    
-    public AxisService getService(QName name)throws AxisFault;
-    public void addService(AxisService service)throws AxisFault;
-    public void removeService(QName name)throws AxisFault;
-    
     /**
-     * Modules is read only as they can not deployed while runing 
+     * Modules is read only as they can not deployed while runing
      */
-    public AxisModule getModule(QName name)throws AxisFault;
-    public void addMdoule(AxisModule module)throws AxisFault;
-    
+    public AxisModule getModule(QName name) throws AxisFault;
+
+    public void addMdoule(AxisModule module) throws AxisFault;
+
     public AxisTransport getTransport(QName name) throws AxisFault;
+
     public void addTransport(AxisTransport transport) throws AxisFault;
+
     public HashMap getTransports() throws AxisFault;
+
     /**
      * Ordred list of phases
      */
     public ArrayList getPhases();
+
     public HashMap getServices();
 
 //    public ArrayList getTransPorts() ;

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryFactory.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryFactory.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryFactory.java Mon Feb 14 22:22:34 2005
@@ -15,15 +15,15 @@
  */
 package org.apache.axis.engine;
 
-import javax.xml.stream.XMLStreamException;
-
 import org.apache.axis.deployment.DeploymentEngine;
 import org.apache.axis.deployment.DeploymentException;
 import org.apache.axis.phaseresolver.PhaseException;
 
+import javax.xml.stream.XMLStreamException;
+
 
 public class EngineRegistryFactory {
-    public static EngineRegistry createEngineRegistry(String file)throws AxisFault{
+    public static EngineRegistry createEngineRegistry(String file) throws AxisFault {
         try {
             DeploymentEngine deploymentEngine = new DeploymentEngine(file);
             return deploymentEngine.start();

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistryImpl.java Mon Feb 14 22:22:34 2005
@@ -25,8 +25,7 @@
 import java.util.HashMap;
 
 
-
-public class EngineRegistryImpl implements EngineRegistry{
+public class EngineRegistryImpl implements EngineRegistry {
     private HashMap modules = new HashMap();
     private HashMap services = new HashMap();
     private HashMap transports = new HashMap();
@@ -34,7 +33,7 @@
     private ArrayList phases;
 
 
-    public EngineRegistryImpl(AxisGlobal global){
+    public EngineRegistryImpl(AxisGlobal global) {
         this.global = global;
         phases = new ArrayList();
     }
@@ -44,11 +43,11 @@
     }
 
     public synchronized void addMdoule(AxisModule module) throws AxisFault {
-        modules.put(module.getName(),module);
+        modules.put(module.getName(), module);
     }
 
-    public synchronized  void addService(AxisService service) throws AxisFault {
-        services.put(service.getName(),service);
+    public synchronized void addService(AxisService service) throws AxisFault {
+        services.put(service.getName(), service);
     }
 
     public AxisGlobal getGlobal() throws AxisFault {
@@ -56,24 +55,24 @@
     }
 
     public AxisModule getModule(QName name) throws AxisFault {
-        return (AxisModule)modules.get(name);
+        return (AxisModule) modules.get(name);
     }
 
     public AxisService getService(QName name) throws AxisFault {
-        return (AxisService)services.get(name);
+        return (AxisService) services.get(name);
     }
 
-    public  synchronized void removeService(QName name) throws AxisFault {
+    public synchronized void removeService(QName name) throws AxisFault {
         services.remove(name);
     }
-    
+
     public AxisTransport getTransport(QName name) throws AxisFault {
-         return (AxisTransport)transports.get(name);
-     }
+        return (AxisTransport) transports.get(name);
+    }
 
-    public synchronized  void addTransport(AxisTransport transport) throws AxisFault {
-        transports.put(transport.getName(),transport);
-     }
+    public synchronized void addTransport(AxisTransport transport) throws AxisFault {
+        transports.put(transport.getName(), transport);
+    }
 
     public HashMap getTransports() throws AxisFault {
         return transports;

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/ExecutionChain.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/ExecutionChain.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/ExecutionChain.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/ExecutionChain.java Mon Feb 14 22:22:34 2005
@@ -15,49 +15,48 @@
  */
 package org.apache.axis.engine;
 
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Stack;
-
-import javax.xml.namespace.QName;
-
 import org.apache.axis.context.MessageContext;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Stack;
+
 /**
  * <p> This is the ordered Collection of Phases as specified by the Server.xml file.
- * this has the execution logic as well. If something goes wrong inside the 
+ * this has the execution logic as well. If something goes wrong inside the
  * Execution Chain then the exeution chain itself revoke them.
  * </p>
  */
 public class ExecutionChain {
     private HashMap phases;
     private ArrayList executionList;
-	private Log log = LogFactory.getLog(getClass());
-	
+    private Log log = LogFactory.getLog(getClass());
+
     public ExecutionChain() {
         phases = new HashMap();
         executionList = new ArrayList();
     }
-    
+
     public void addPhase(Phase phase) {
-    	log.info("Phase "+ phase.getPhaseName() + "Added ");
+        log.info("Phase " + phase.getPhaseName() + "Added ");
         phases.put(phase.getPhaseName(), phase);
         executionList.add(phase);
     }
-    
-    
-    public void addPhases(ArrayList phases){
+
+
+    public void addPhases(ArrayList phases) {
         if (phases != null && !phases.isEmpty()) {
             for (int i = 0; i < phases.size(); i++) {
                 addPhase((Phase) phases.get(i));
             }
         }
     }
-    
-    public Phase getPhase(QName name){
-        return (Phase)phases.get(name);
+
+    public Phase getPhase(QName name) {
+        return (Phase) phases.get(name);
     }
 
     public void invoke(MessageContext msgctx) throws AxisFault {
@@ -66,17 +65,17 @@
             for (int i = 0; i < executionList.size(); i++) {
                 Phase phase = (Phase) executionList.get(i);
                 if (phase != null) {
-					log.info("Invoke the Phase "+ phase.getPhaseName());
+                    log.info("Invoke the Phase " + phase.getPhaseName());
                     executionStack.push(phase);
                     phase.invoke(msgctx);
                 }
             }
         } catch (Exception e) {
-        	log.info("Execution Chain failed with the "+e.getMessage());
+            log.info("Execution Chain failed with the " + e.getMessage());
             while (!executionStack.isEmpty()) {
-				Phase phase = (Phase) executionStack.pop();
-				phase.revoke(msgctx);
-				log.info("revoke the Phase "+ phase.getPhaseName());
+                Phase phase = (Phase) executionStack.pop();
+                phase.revoke(msgctx);
+                log.info("revoke the Phase " + phase.getPhaseName());
             }
             throw AxisFault.makeFault(e);
         }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Handler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Handler.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Handler.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Handler.java Mon Feb 14 22:22:34 2005
@@ -16,16 +16,16 @@
 
 package org.apache.axis.engine;
 
-import java.io.Serializable;
-
-import javax.xml.namespace.QName;
-
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.description.HandlerMetaData;
 import org.apache.axis.description.Parameter;
 
-public interface Handler extends Serializable{
+import javax.xml.namespace.QName;
+import java.io.Serializable;
+
+public interface Handler extends Serializable {
     public void init(HandlerMetaData handlerdesc);
+
     /**
      * Invoke is called to do the actual work of the Handler object.
      * If there is a fault during the processing of this method it is
@@ -50,6 +50,8 @@
     public void revoke(MessageContext msgContext);
 
     public QName getName();
-    public Parameter getParameter(String name);    
+
+    public Parameter getParameter(String name);
+
     public void cleanup() throws AxisFault;
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Phase.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Phase.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Phase.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Phase.java Mon Feb 14 22:22:34 2005
@@ -15,17 +15,16 @@
  */
 package org.apache.axis.engine;
 
-import java.util.ArrayList;
-import java.util.Stack;
-
-import javax.xml.namespace.QName;
-
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.description.HandlerMetaData;
 import org.apache.axis.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.Stack;
+
 /**
  * <p>This is Phase, a orderd collection of Handlers.
  * seems this is Handler Chain with order.</p>
@@ -35,21 +34,21 @@
     public static final String DISPATCH_PHASE = "DispatchPhase";
     public static final String SERVICE_INVOCATION = "ServiceInvocationPhase";
     public static final String SENDING_PHASE = "SendPhase";
-	public static final QName NAME = new QName("http://axis.ws.apache.org","Phase");
-    
+    public static final QName NAME = new QName("http://axis.ws.apache.org", "Phase");
+
     private String phaseName;
     private ArrayList handlers;
-	private Log log = LogFactory.getLog(getClass());
-	
+    private Log log = LogFactory.getLog(getClass());
+
 
     public Phase(String phaseName) {
         handlers = new ArrayList();
         this.phaseName = phaseName;
-		init(new HandlerMetaData(NAME));
+        init(new HandlerMetaData(NAME));
     }
 
     public void addHandler(Handler handler, int index) {
-		log.info("Handler "+ handler.getName() + "Added to place "+1 + " At the Phase "+phaseName );
+        log.info("Handler " + handler.getName() + "Added to place " + 1 + " At the Phase " + phaseName);
         handlers.add(index, handler);
     }
 
@@ -59,7 +58,7 @@
      * @param handler
      */
     public void addHandler(Handler handler) {
-		log.info("Handler "+ handler.getName() + " Added to the Phase "+phaseName );
+        log.info("Handler " + handler.getName() + " Added to the Phase " + phaseName);
         handlers.add(handler);
     }
 
@@ -76,16 +75,16 @@
             for (int i = 0; i < handlers.size(); i++) {
                 Handler handler = (Handler) handlers.get(i);
                 if (handler != null) {
-					log.info("Invoke the Handler "+ handler.getName() + "with in the Phase "+ phaseName);
+                    log.info("Invoke the Handler " + handler.getName() + "with in the Phase " + phaseName);
                     executionStack.push(handler);
                     handler.invoke(msgctx);
                 }
             }
         } catch (Exception e) {
-			log.info("Phase "+phaseName+" failed with the "+e.getMessage());
+            log.info("Phase " + phaseName + " failed with the " + e.getMessage());
             while (!executionStack.isEmpty()) {
                 Handler handler = (Handler) executionStack.pop();
-				log.info("revoke the Handler "+ handler.getName() + " with in the Phase "+ phaseName);
+                log.info("revoke the Handler " + handler.getName() + " with in the Phase " + phaseName);
                 handler.revoke(msgctx);
             }
             throw AxisFault.makeFault(e);
@@ -95,7 +94,7 @@
     public void revoke(MessageContext msgctx) {
         for (int i = handlers.size() - 1; i > -1; i--) {
             Handler handler = (Handler) handlers.get(i);
-			log.info("revoke the Handler "+ handler.getName()+ " with in the Phase "+ phaseName);
+            log.info("revoke the Handler " + handler.getName() + " with in the Phase " + phaseName);
             if (handler != null) {
                 handler.revoke(msgctx);
             }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Provider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Provider.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Provider.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/Provider.java Mon Feb 14 22:22:34 2005
@@ -14,16 +14,17 @@
  * limitations under the License.
  */
 package org.apache.axis.engine;
-import java.io.Serializable;
 
 import org.apache.axis.context.MessageContext;
 
+import java.io.Serializable;
+
 
 /**
  * This Provider is the workhorse who locate the implementation of the Web Service and
  * invoke the Web Service.
  */
-public interface Provider extends Serializable{
-    public MessageContext invoke(MessageContext msgCtx)throws AxisFault;
+public interface Provider extends Serializable {
+    public MessageContext invoke(MessageContext msgCtx) throws AxisFault;
 
 }    

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/AbstractHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/AbstractHandler.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/AbstractHandler.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/AbstractHandler.java Mon Feb 14 22:22:34 2005
@@ -15,20 +15,20 @@
  */
 package org.apache.axis.handlers;
 
-import javax.xml.namespace.QName;
-
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.description.HandlerMetaData;
 import org.apache.axis.description.Parameter;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.Handler;
 
+import javax.xml.namespace.QName;
+
 public abstract class AbstractHandler implements Handler {
     private static HandlerMetaData EMPTY_HANDLER_METADATA = new HandlerMetaData();
     protected HandlerMetaData handlerDesc;
-    
-    public AbstractHandler(){
-    	handlerDesc = EMPTY_HANDLER_METADATA;
+
+    public AbstractHandler() {
+        handlerDesc = EMPTY_HANDLER_METADATA;
     }
 
     public QName getName() {
@@ -39,7 +39,6 @@
     }
 
 
- 
     public void cleanup() throws AxisFault {
     }
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/OpNameFinder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/OpNameFinder.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/OpNameFinder.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/handlers/OpNameFinder.java Mon Feb 14 22:22:34 2005
@@ -15,40 +15,36 @@
  */
 package org.apache.axis.handlers;
 
-import javax.xml.namespace.QName;
-
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisService;
 import org.apache.axis.description.HandlerMetaData;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.Constants;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.om.OMNode;
-import org.apache.axis.om.SOAPBody;
-import org.apache.axis.om.SOAPEnvelope;
+import org.apache.axis.om.*;
+
+import javax.xml.namespace.QName;
 
 public class OpNameFinder extends AbstractHandler {
-	
-	public static final QName NAME = new QName("http://axis.ws.apache.org","OpNameFinder");
-	
-
-	public OpNameFinder(){
-		init(new HandlerMetaData(NAME));
-	}
+
+    public static final QName NAME = new QName("http://axis.ws.apache.org", "OpNameFinder");
+
+
+    public OpNameFinder() {
+        init(new HandlerMetaData(NAME));
+    }
 
     public void invoke(MessageContext msgContext) throws AxisFault {
         int style = msgContext.getMessageStyle();
 
 
         if (style == Constants.SOAP_STYLE_RPC_ENCODED || style == Constants.SOAP_STYLE_RPC_LITERAL) {
-			SOAPEnvelope envelope = msgContext.getEnvelope();
-			SOAPBody body = envelope.getBody();
-			OMNode node = body.getFirstChild();
-            while(node != null){
+            SOAPEnvelope envelope = msgContext.getEnvelope();
+            SOAPBody body = envelope.getBody();
+            OMNode node = body.getFirstChild();
+            while (node != null) {
                 int type = node.getType();
-                if(type == OMNode.ELEMENT_NODE){
+                if (type == OMNode.ELEMENT_NODE) {
                     OMElement bodyChild = (OMElement) node;
                     msgContext.setSoapOperationElement(bodyChild);
                     OMNamespace omns = bodyChild.getNamespace();
@@ -65,7 +61,7 @@
                             }
                             break;
                         }
-                        
+
                     } else {
                         throw new AxisFault("SOAP Body must be NS Qualified");
                     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/FactoryFinder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/FactoryFinder.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/FactoryFinder.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/FactoryFinder.java Mon Feb 14 22:22:34 2005
@@ -14,13 +14,14 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- *
- *         This is the static factory finder. It searches for the relevant class
- *         Note - It has only package access!!!
+ * <p/>
+ * This is the static factory finder. It searches for the relevant class
+ * Note - It has only package access!!!
  */
 class FactoryFinder {
 
     private static final String DEFAULT_CLASS_NAME = "org.apache.axis.om.impl.llom.factory.OMLinkedListImplFactory";
+
     /**
      * This needs to be improved. Currently the factory is loaded only from the default implementation
      * However provisions should be made to load a custom factory depending on the users setting

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMAttribute.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMAttribute.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMAttribute.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMAttribute.java Mon Feb 14 22:22:34 2005
@@ -20,9 +20,9 @@
  * One must implement relevant constructors for the class implementing this interface
  * all the things like namespace, parent, value, etc., that should come in this are defined in base classes
  */
-public interface OMAttribute{
+public interface OMAttribute {
 
-   public String getLocalName();
+    public String getLocalName();
 
     public void setLocalName(String localName);
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMConstants.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMConstants.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMConstants.java Mon Feb 14 22:22:34 2005
@@ -46,11 +46,11 @@
     public static final String SOAPFAULT_NAMESPACE_PREFIX = SOAPENVELOPE_NAMESPACE_PREFIX;
 
     //OMBuilder constants
-    public static final short PUSH_TYPE_BUILDER=0;
-    public static final short PULL_TYPE_BUILDER=1;
+    public static final short PUSH_TYPE_BUILDER = 0;
+    public static final short PULL_TYPE_BUILDER = 1;
 
     public static final String ARRAY_ITEM_NSURI = "http://axis.apache.org/encoding/Arrays";
     public static final String ARRAY_ITEM_LOCALNAME = "item";
     public static final String ARRAY_ITEM_NS_PREFIX = "arrays";
-    public static final String ARRAY_ITEM_QNAME = OMConstants.ARRAY_ITEM_NS_PREFIX + ':' +OMConstants.ARRAY_ITEM_LOCALNAME;
+    public static final String ARRAY_ITEM_QNAME = OMConstants.ARRAY_ITEM_NS_PREFIX + ':' + OMConstants.ARRAY_ITEM_LOCALNAME;
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMElement.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMElement.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMElement.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMElement.java Mon Feb 14 22:22:34 2005
@@ -1,10 +1,9 @@
 package org.apache.axis.om;
 
 
-import java.util.Iterator;
-
 import javax.xml.namespace.QName;
 import javax.xml.stream.XMLStreamReader;
+import java.util.Iterator;
 
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
@@ -46,6 +45,7 @@
 
     /**
      * This will return the first matched child, return null if none found
+     *
      * @param elementQName
      * @return
      * @throws OMException
@@ -128,11 +128,10 @@
     public OMAttribute insertAttribute(OMAttribute attr);
 
     /**
-     *
      * @param attributeName
      * @param value
-     * @param ns - the namespace has to be one of the in scope namespace. i.e. the passed namespace
-     * must be declared in the parent element of this attribute or ancestors of the parent element of the attribute
+     * @param ns            - the namespace has to be one of the in scope namespace. i.e. the passed namespace
+     *                      must be declared in the parent element of this attribute or ancestors of the parent element of the attribute
      * @return
      */
     public OMAttribute insertAttribute(String attributeName, String value, OMNamespace ns);
@@ -160,6 +159,7 @@
     /**
      * Returns the pull parser that will generate the pull
      * events relevant to THIS element
+     *
      * @param cacheOff
      * @return
      */

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactory.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactory.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactory.java Mon Feb 14 22:22:34 2005
@@ -21,7 +21,7 @@
  * This will help to create OM API object. This will ease the switching from one OM impl to another.
  */
 public abstract class OMFactory {
-	/**
+    /**
      * @param localName
      * @param ns
      * @return
@@ -37,7 +37,8 @@
      */
     public abstract OMElement createOMElement(String localName, OMNamespace ns, OMElement parent, OMXMLParserWrapper builder);
 
-    /** This is almost the same as as createOMElement(localName,OMNamespace) method above.
+    /**
+     * This is almost the same as as createOMElement(localName,OMNamespace) method above.
      * But some people may, for some reason, need to use the conventional method of putting a namespace.
      * Or in other words people might not want to use the new OMNamespace.
      * Well, this is for those people.
@@ -53,14 +54,14 @@
      * QName(localPart),
      * QName(namespaceURI, localPart) - a prefix will be assigned to this
      * QName(namespaceURI, localPart, prefix)
+     *
      * @param qname
      * @return
      */
-    public abstract OMElement createOMElement(QName qname, OMElement parent) throws OMException ;
+    public abstract OMElement createOMElement(QName qname, OMElement parent) throws OMException;
 
 
     /**
-     *
      * @param uri
      * @param prefix
      * @return
@@ -88,7 +89,6 @@
     public abstract SOAPBody createSOAPBody(SOAPEnvelope envelope);
 
     /**
-     *
      * @param envelope
      * @param builder
      * @return
@@ -114,7 +114,6 @@
     public abstract SOAPHeader createSOAPHeader(SOAPEnvelope envelope);
 
     /**
-     *
      * @param envelope
      * @param builder
      * @return

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactoryException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactoryException.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactoryException.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMFactoryException.java Mon Feb 14 22:22:34 2005
@@ -14,8 +14,8 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- *         <p/>
- *         Exception thrown when the factory returns an error
+ * <p/>
+ * Exception thrown when the factory returns an error
  */
 public class OMFactoryException extends OMException {
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamedNode.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamedNode.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamedNode.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamedNode.java Mon Feb 14 22:22:34 2005
@@ -31,5 +31,5 @@
 
     public void setNamespace(OMNamespace namespace);
 
-    
+
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamespace.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamespace.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamespace.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNamespace.java Mon Feb 14 22:22:34 2005
@@ -19,7 +19,9 @@
 public interface OMNamespace {
 
     public boolean equals(String uri, String prefix);
+
     public String getPrefix();
+
     public String getName();
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNode.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNode.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNode.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMNode.java Mon Feb 14 22:22:34 2005
@@ -122,6 +122,7 @@
 
     /**
      * This is to get the type of node, as this is the super class of all the nodes
+     *
      * @return
      * @throws OMException
      */
@@ -131,23 +132,24 @@
 
     /**
      * get the previous sibling
+     *
      * @return
      */
     public OMNode getPreviousSibling();
 
     /**
      * Set the previous sibling
+     *
      * @param previousSibling
      */
     public void setPreviousSibling(OMNode previousSibling);
 
-    
+
     /**
-     * 
      * @param writer
      * @param cache
      * @throws XMLStreamException
      */
-    public void serialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException ;
+    public void serialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException;
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMSerializer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMSerializer.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMSerializer.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMSerializer.java Mon Feb 14 22:22:34 2005
@@ -19,7 +19,7 @@
  * limitations under the License.
  */
 public interface OMSerializer {
-    void serialize(Object obj,XMLStreamWriter writer) throws XMLStreamException ;
+    void serialize(Object obj, XMLStreamWriter writer) throws XMLStreamException;
 //    Stack getNamespacePrefixStack();
 //    void setNamespacePrefixStack(Stack namespacePrefixStack); 
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMUtils.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMUtils.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMUtils.java Mon Feb 14 22:22:34 2005
@@ -19,23 +19,23 @@
 
 
 public class OMUtils {
-    public static OMElement getFirstChildElement(OMElement omele){
+    public static OMElement getFirstChildElement(OMElement omele) {
         OMElement childElement = null;
         OMNode child = null;
-        if(omele != null){
+        if (omele != null) {
             Iterator it = omele.getChildren();
-            if(it.hasNext()){
-                child = (OMNode)it.next();
-                while(OMNode.ELEMENT_NODE != child.getType()){
-                    if(it.hasNext()){
-                        child = (OMNode)it.next();
-                    }else{
+            if (it.hasNext()) {
+                child = (OMNode) it.next();
+                while (OMNode.ELEMENT_NODE != child.getType()) {
+                    if (it.hasNext()) {
+                        child = (OMNode) it.next();
+                    } else {
                         break;
                     }
                 }
-                childElement = (OMElement)child;
+                childElement = (OMElement) child;
             }
-            
+
         }
         return childElement;
     }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java Mon Feb 14 22:22:34 2005
@@ -65,6 +65,7 @@
      * Returns the type of the builder.
      * Can be either the
      * PUSH_TYPE_BUILDER or PULL_TYPE_BUILDER
+     *
      * @return
      */
     short getBuilderType();
@@ -72,13 +73,15 @@
     /**
      * Registers an external content handler. Especially useful for
      * push type builders. will throw an unsupportedOperationExcveption if
-     * such handler registration is not supported     
+     * such handler registration is not supported
+     *
      * @param obj
      */
     void registerExternalContentHandler(Object obj);
 
     /**
      * get the registered external content handler
+     *
      * @return
      */
     Object getRegisteredContentHandler();

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPFault.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPFault.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPFault.java Mon Feb 14 22:22:34 2005
@@ -118,9 +118,11 @@
 
     /**
      * This will set the given omnode under the detail element of SOAP fault
+     *
      * @param detail
      */
     public abstract void setDetailInformation(OMNode detail);
+
     public abstract OMNode getDetailInformation();
 
 

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMAttributeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMAttributeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMAttributeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMAttributeImpl.java Mon Feb 14 22:22:34 2005
@@ -1,13 +1,12 @@
 package org.apache.axis.om.impl.llom;
 
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import javax.xml.namespace.QName;
-
 import org.apache.axis.om.OMAttribute;
 import org.apache.axis.om.OMNamespace;
 
+import javax.xml.namespace.QName;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
  * <p/>
@@ -44,7 +43,7 @@
         return matcher.replaceAll(QUOTE_ENTITY);
     }
 
-    public QName getQName(){
+    public QName getQName() {
         String namespaceName = namespace != null ? namespace.getName() : null;
         return new QName(namespaceName, localName);
     }
@@ -66,14 +65,13 @@
         this.value = value;
     }
 
-    public void setOMNamespace(OMNamespace omNamespace){
+    public void setOMNamespace(OMNamespace omNamespace) {
         this.namespace = omNamespace;
     }
 
-    public OMNamespace getNamespace(){
+    public OMNamespace getNamespace() {
         return namespace;
     }
-
 
 
 }

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java Mon Feb 14 22:22:34 2005
@@ -1,22 +1,6 @@
 package org.apache.axis.om.impl.llom;
 
-import java.util.HashMap;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.axis.om.OMAttribute;
-import org.apache.axis.om.OMConstants;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMException;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.om.OMNode;
-import org.apache.axis.om.OMText;
-import org.apache.axis.om.OMXMLParserWrapper;
+import org.apache.axis.om.*;
 import org.apache.axis.om.impl.llom.serialize.StreamWriterToContentHandlerConverter;
 import org.apache.axis.om.impl.llom.serialize.StreamingOMSerializer;
 import org.apache.axis.om.impl.llom.traverse.OMChildrenIterator;
@@ -24,6 +8,13 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+import java.util.HashMap;
+import java.util.Iterator;
+
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
  * <p/>
@@ -103,7 +94,7 @@
 
         // first try to find a namespace from the scope
         String namespaceURI = qname.getNamespaceURI();
-        if (!"".equals(namespaceURI) ) {
+        if (!"".equals(namespaceURI)) {
             ns = findInScopeNamespace(qname.getNamespaceURI(), qname.getPrefix());
         } else {
             if (parent != null) {

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNamedNodeImpl.java Mon Feb 14 22:22:34 2005
@@ -1,12 +1,12 @@
 package org.apache.axis.om.impl.llom;
 
-import javax.xml.namespace.QName;
-
 import org.apache.axis.om.OMElement;
 import org.apache.axis.om.OMException;
 import org.apache.axis.om.OMNamedNode;
 import org.apache.axis.om.OMNamespace;
 
+import javax.xml.namespace.QName;
+
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
  * <p/>
@@ -27,12 +27,12 @@
 
     protected OMNamespace ns;
     protected String localName;
-    
-    public OMNamedNodeImpl(OMElement parent){
+
+    public OMNamedNodeImpl(OMElement parent) {
         super(parent);
-    } 
+    }
 
-	public OMNamedNodeImpl(String localName, OMNamespace ns, OMElement parent) {
+    public OMNamedNodeImpl(String localName, OMNamespace ns, OMElement parent) {
         super(parent);
         this.localName = localName;
         this.ns = ns;
@@ -48,21 +48,21 @@
 
     public OMNamespace getNamespace() throws OMException {
 
-        if (ns == null && parent != null){
+        if (ns == null && parent != null) {
             ns = parent.getNamespace();
         }
 
-        if(ns == null)
+        if (ns == null)
             throw new OMException("all elements in a soap message must be namespace qualified");
-        
+
         return ns;
     }
 
     public String getNamespaceName() {
-    	if(ns != null){
-			return ns.getName();    	
-    	}
-		return null;
+        if (ns != null) {
+            return ns.getName();
+        }
+        return null;
     }
 
     /**

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNavigator.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNavigator.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNavigator.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNavigator.java Mon Feb 14 22:22:34 2005
@@ -100,7 +100,7 @@
                 next = null;
 
         } else {
-            OMNode nextSibling = ((OMNodeImpl)next).nextSibling;
+            OMNode nextSibling = ((OMNodeImpl) next).nextSibling;
             OMNode parent = next.getParent();
 
             if (nextSibling != null)
@@ -134,16 +134,19 @@
 
     /**
      * the navigable status
+     *
      * @return
      */
     public boolean isNavigable() {
         if (end)
             return false;
-        else return !(next == null);
+        else
+            return !(next == null);
     }
 
     /**
      * The completed status
+     *
      * @return
      */
     public boolean isCompleted() {

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNodeImpl.java?view=diff&r1=153901&r2=153902
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNodeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/impl/llom/OMNodeImpl.java Mon Feb 14 22:22:34 2005
@@ -1,12 +1,12 @@
 package org.apache.axis.om.impl.llom;
 
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-
 import org.apache.axis.om.OMElement;
 import org.apache.axis.om.OMException;
 import org.apache.axis.om.OMNode;
 
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamWriter;
+
 /**
  * Copyright 2001-2004 The Apache Software Foundation.
  * <p/>
@@ -30,7 +30,10 @@
     protected String value;
     protected boolean done = false;
     protected short nodeType;
-    public OMNodeImpl(){}
+
+    public OMNodeImpl() {
+    }
+
     /**
      * For a node to exist there must be a parent
      *
@@ -38,7 +41,7 @@
      */
 
     public OMNodeImpl(OMElement parent) {
-        if (parent != null && parent.getType() == OMNode.ELEMENT_NODE){
+        if (parent != null && parent.getType() == OMNode.ELEMENT_NODE) {
             this.parent = (OMElementImpl) parent;
         }
     }
@@ -195,6 +198,6 @@
     }
 
     public void serialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException {
-       //Do nothing. Relevant children will put relevant things here
+        //Do nothing. Relevant children will put relevant things here
     }
 }



Mime
View raw message