ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r326958 [6/9] - in /webservices/wsrf/trunk/src: examples/filesystem/ examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ java/org/apache/ws/addressing/ java/org/apache/ws/addressing/handler/ java/org/apache/ws/addressing...
Date Thu, 20 Oct 2005 17:51:37 GMT
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ServiceProperties.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ServiceProperties.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ServiceProperties.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ServiceProperties.java Thu Oct 20 10:50:00 2005
@@ -15,17 +15,15 @@
  *=============================================================================*/
 package org.apache.ws.resource.tool.velocity;
 
+import org.apache.ws.resource.NamespaceVersionHolder;
+import org.apache.ws.resource.ResourceDefinition;
+import org.apache.ws.util.XmlBeanNameUtils;
+import javax.xml.namespace.QName;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import javax.xml.namespace.QName;
-
-import org.apache.ws.resource.NamespaceVersionHolder;
-import org.apache.ws.resource.ResourceDefinition;
-import org.apache.ws.util.XmlBeanNameUtils;
-
 /**
  * A bean that contains all properties that are needed by our Velocity templates.
  *
@@ -33,797 +31,835 @@
  */
 public class ServiceProperties
 {
-
-    private static final String NAMESPACE_SET_CONSTANT_NAME = "SPEC_NAMESPACE_SET";
-
-    private String m_packageName;
-
-    private String m_serviceName;
-
-    private String m_serviceImplements;
-
-    private String m_namespace;
-
-    private String m_prefix;
-
-    private Map m_customMappings;
-
-    private QName[] m_customPropNames;
-
-    private Map m_propertyMap;
-
-    private String m_resourceImplements;
-
-    private String m_propertyDocumentName;
-
-    private String m_wsdlName;
-
-    private QName m_resourcekey;
-
-    private List m_resourceIncludes = new ArrayList();
-
-    private List m_serviceIncludes = new ArrayList();
-
-    private List m_resourceInitIncludes = new ArrayList();
-
-    private List m_abstractResourceInitIncludes = new ArrayList();
-    private List m_springBeanDefIncludeLocations = new ArrayList();
-    private boolean m_hasProperties;
-    private boolean m_hasMetadata;
-    private String m_endpointServiceName;
-    private String m_endpointURL;
-    private String m_jarDir;
-    private String m_classesDir;
-    private String m_srcDir;
-    private String m_jarFileName;
-    private ResourceDefinition m_resourceDef;
-    private String m_namespaceVersionHolder;
-    private QName m_serviceQName;
-    private String m_portName;
-    private QName m_portTypeQName;
-    private List m_implementedProps = new ArrayList();
-    private String m_webbAppName;
-    private String m_namespaceVersionHolderClassName;
-    private String m_port;
-    private Map m_serviceMethodMap;
-    private QName m_wsdlServiceName;
-
-    /**
-     * Creates a new {@link ServiceProperties} object.
-     *
-     * @param resourceDef DOCUMENT_ME
-     */
-    public ServiceProperties( ResourceDefinition resourceDef )
-    {
-        m_resourceDef = resourceDef;
-    }
-
-    public QName[] getCustomPropertyNames()
-    {
-        return m_customPropNames;
-    }
-
-    public void setCustomPropertyNames( QName[] customPropNames )
-    {
-        m_customPropNames = customPropNames;
-    }
-
-    public List getSpringBeanDefIncludeLocations()
-    {
-        return m_springBeanDefIncludeLocations;
-    }
-
-    public boolean getHasMetadata()
-    {
-        return m_hasMetadata;
-    }
-
-    public void setHasMetadata( boolean hasMetadata )
-    {
-        m_hasMetadata = hasMetadata;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public List getAbstractResourceInitIncludeLocations()
-    {
-        return m_abstractResourceInitIncludes;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param classesDir DOCUMENT_ME
-     */
-    public void setClassesDir( String classesDir )
-    {
-        m_classesDir = classesDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getClassesDir()
-    {
-        return m_classesDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param customMappings DOCUMENT_ME
-     */
-    public void setCustomMappings( Map customMappings )
-    {
-        this.m_customMappings = customMappings;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public Map getCustomMappings()
-    {
-        return m_customMappings;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param prop_qname DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getDocumentElementXmlBeanClassName( QName prop_qname )
-    {
-        return XmlBeanNameUtils.getDocumentElementXmlBeanClassName( prop_qname );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param serviceName DOCUMENT_ME
-     */
-    public void setEndpointServiceName( String serviceName )
-    {
-        m_endpointServiceName = serviceName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getEndpointServiceName()
-    {
-        return m_endpointServiceName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param endpointURL DOCUMENT_ME
-     */
-    public void setEndpointURL( String endpointURL )
-    {
-        m_endpointURL = endpointURL;
-        try
-        {
-            setPort( Integer.toString( new java.net.URL( endpointURL ).getPort() ) );
-        }
-        catch ( java.net.MalformedURLException e )
-        {
-            throw new RuntimeException( e );
-        }
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getEndpointURL()
-    {
-        return m_endpointURL;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param hasProps DOCUMENT_ME
-     */
-    public void setHasProperties( boolean hasProps )
-    {
-        m_hasProperties = hasProps;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public boolean getHasProperties()
-    {
-        return m_hasProperties;
-    }
-
-    /**
-     * Returns a Map of the properties which the implementor will need to implement.
-     *
-     * @return The Map of props which need to be implenmented/
-     */
-    public Map getImplementableProperties()
-    {
-        Map implementableMap = new HashMap( m_propertyMap );
-        for ( int i = 0; i < m_implementedProps.size(); i++ )
-        {
-            implementableMap.remove( ( (QName) m_implementedProps.get( i ) ).getLocalPart().toUpperCase() );
-        }
-
-        return implementableMap;
-    }
-
-    /**
-     * Returns a list of only the properties which the implementor has defined in their wsdl AND that ARE implemented for
-     * them.
-     *
-     * @return A list of the props which the implementor will not need to implement.
-     */
-    public List getImplementedProperties()
-    {
-        List list = new ArrayList();
-        for ( int i = 0; i < m_implementedProps.size(); i++ )
-        {
-            if ( m_propertyMap.values().contains( m_implementedProps.get( i ) ) )
-            {
-                list.add( m_implementedProps.get( i ) );
-            }
-        }
-
-        return list;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param jarDir DOCUMENT_ME
-     */
-    public void setJarDir( String jarDir )
-    {
-        m_jarDir = jarDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getJarDir()
-    {
-        return m_jarDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param jarFileName DOCUMENT_ME
-     */
-    public void setJarFileName( String jarFileName )
-    {
-        m_jarFileName = jarFileName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getJarFileName()
-    {
-        return m_jarFileName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param namespace DOCUMENT_ME
-     */
-    public void setNamespace( String namespace )
-    {
-        this.m_namespace = namespace;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getNamespace()
-    {
-        return m_namespace;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param namespaceVersionHolderClass DOCUMENT_ME
-     */
-    public void setNamespaceVersionHolder( Class namespaceVersionHolderClass )
-    {
-        if ( namespaceVersionHolderClass != null )
-        {
-            setNamespaceVersionHolderClassName( namespaceVersionHolderClass );
-            m_namespaceVersionHolder =
-                    "private static final " + NamespaceVersionHolder.class.getName() + " " +
-                            NAMESPACE_SET_CONSTANT_NAME + " = new " + namespaceVersionHolderClass.getName() + "();";
-        }
-    }
-
-    public static String getNamespaceSetConstantName()
-    {
-        return NAMESPACE_SET_CONSTANT_NAME;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getNamespaceVersionHolder()
-    {
-        return m_namespaceVersionHolder;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param namespaceValueHolder DOCUMENT_ME
-     */
-    public void setNamespaceVersionHolderClassName( Class namespaceValueHolder )
-    {
-        m_namespaceVersionHolderClassName = namespaceValueHolder.getName();
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getNamespaceVersionHolderClassName()
-    {
-        return m_namespaceVersionHolderClassName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param packageName DOCUMENT_ME
-     */
-    public void setPackageName( String packageName )
-    {
-        this.m_packageName = packageName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getPackageName()
-    {
-        return m_packageName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param port DOCUMENT_ME
-     */
-    public void setPort( String port )
-    {
-        m_port = port;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getPort()
-    {
-        return m_port;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param portName DOCUMENT_ME
-     */
-    public void setPortName( String portName )
-    {
-        m_portName = portName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getPortName()
-    {
-        return m_portName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param portTypeQName DOCUMENT_ME
-     */
-    public void setPortTypeQName( QName portTypeQName )
-    {
-        m_portTypeQName = portTypeQName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public QName getPortTypeQName()
-    {
-        return m_portTypeQName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param prefix DOCUMENT_ME
-     */
-    public void setPrefix( String prefix )
-    {
-        this.m_prefix = prefix;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getPrefix()
-    {
-        return m_prefix;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param propertyDocumentName DOCUMENT_ME
-     */
-    public void setPropertyDocumentName( String propertyDocumentName )
-    {
-        this.m_propertyDocumentName = propertyDocumentName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getPropertyDocumentName()
-    {
-        return m_propertyDocumentName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param propertyMap DOCUMENT_ME
-     */
-    public void setPropertyMap( Map propertyMap )
-    {
-        this.m_propertyMap = propertyMap;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public Map getPropertyMap()
-    {
-        return m_propertyMap;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param resourceImplements DOCUMENT_ME
-     */
-    public void setResourceImplements( String resourceImplements )
-    {
-        this.m_resourceImplements = resourceImplements;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getResourceImplements()
-    {
-        return m_resourceImplements;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public List getResourceIncludeFiles()
-    {
-        return m_resourceIncludes;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public List getResourceInitIncludeLocations()
-    {
-        return m_resourceInitIncludes;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param resourcekey DOCUMENT_ME
-     */
-    public void setResourcekey( QName resourcekey )
-    {
-        this.m_resourcekey = resourcekey;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public QName getResourcekey()
-    {
-        return m_resourcekey;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param serviceImplements DOCUMENT_ME
-     */
-    public void setServiceImplements( String serviceImplements )
-    {
-        this.m_serviceImplements = serviceImplements;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getServiceImplements()
-    {
-        return m_serviceImplements;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public List getServiceIncludeFiles()
-    {
-        return m_serviceIncludes;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param serviceName DOCUMENT_ME
-     */
-    public void setServiceName( String serviceName )
-    {
-        this.m_serviceName = serviceName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getServiceName()
-    {
-        return m_serviceName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param serviceQname DOCUMENT_ME
-     */
-    public void setServiceQName( QName serviceQname )
-    {
-        m_serviceQName = serviceQname;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public QName getServiceQName()
-    {
-        return m_serviceQName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param srcDir DOCUMENT_ME
-     */
-    public void setSrcDir( String srcDir )
-    {
-        m_srcDir = srcDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getSrcDir()
-    {
-        return m_srcDir;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param name DOCUMENT_ME
-     */
-    public void setWebappName( String name )
-    {
-        m_webbAppName = name;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getWebappName()
-    {
-        return m_webbAppName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param wsdlName DOCUMENT_ME
-     */
-    public void setWsdlName( String wsdlName )
-    {
-        this.m_wsdlName = wsdlName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getWsdlName()
-    {
-        return m_wsdlName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param abstractResourceInitInclude DOCUMENT_ME
-     */
-    public void addAbstractResourceInitIncludeLocation( String abstractResourceInitInclude )
-    {
-        m_abstractResourceInitIncludes.add( abstractResourceInitInclude );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param springBeanDefIncludeLocation
-     */
-    public void addSpringBeanDefIncludeLocation( String springBeanDefIncludeLocation )
-    {
-        m_springBeanDefIncludeLocations.add( springBeanDefIncludeLocation );
-    }
-
-    /**
-     * Use this method to tell the ServiceProperties which ResourceProperties we implement for the user.
-     *
-     * @param propQnameTerminationTime
-     */
-    public void addImplementedProperty( QName propQnameTerminationTime )
-    {
-        m_implementedProps.add( propQnameTerminationTime );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param resourceInclude DOCUMENT_ME
-     */
-    public void addResourceIncludeFile( String resourceInclude )
-    {
-        m_resourceIncludes.add( resourceInclude );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param resourceInitInclude DOCUMENT_ME
-     */
-    public void addResourceInitIncludeLocation( String resourceInitInclude )
-    {
-        m_resourceInitIncludes.add( resourceInitInclude );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param serviceInclude DOCUMENT_ME
-     */
-    public void addServiceIncludeFile( String serviceInclude )
-    {
-        m_serviceIncludes.add( serviceInclude );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param capability DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public boolean implementsResourceCapability( QName capability )
-    {
-        return m_resourceDef.implementsResourceCapability( capability );
-    }
-
-    public void setServiceMethodMap( Map allOperations )
-    {
-        m_serviceMethodMap = allOperations;
-    }
-
-    public Map getServiceMethodMap()
-    {
-        return m_serviceMethodMap;
-    }
-
-    public QName getBindingName()
-    {
-        return m_resourceDef.getBindingName();
-    }
-
-    public void setWsdlServiceName( QName wsdlServiceName )
-    {
-        m_wsdlServiceName = wsdlServiceName;
-    }
-
-    public QName getWsdlServiceName()
-    {
-        return m_wsdlServiceName;
-    }
+   private static final String NAMESPACE_SET_CONSTANT_NAME = "SPEC_NAMESPACE_SET";
+   private String              m_packageName;
+   private String              m_serviceName;
+   private String              m_serviceImplements;
+   private String              m_namespace;
+   private String              m_prefix;
+   private Map                 m_customMappings;
+   private QName[]             m_customPropNames;
+   private Map                 m_propertyMap;
+   private String              m_resourceImplements;
+   private String              m_propertyDocumentName;
+   private String              m_wsdlName;
+   private QName               m_resourcekey;
+   private List                m_resourceIncludes = new ArrayList(  );
+   private List                m_serviceIncludes = new ArrayList(  );
+   private List                m_resourceInitIncludes = new ArrayList(  );
+   private List                m_abstractResourceInitIncludes    = new ArrayList(  );
+   private List                m_springBeanDefIncludeLocations   = new ArrayList(  );
+   private boolean             m_hasProperties;
+   private boolean             m_hasMetadata;
+   private String              m_endpointServiceName;
+   private String              m_endpointURL;
+   private String              m_jarDir;
+   private String              m_classesDir;
+   private String              m_srcDir;
+   private String              m_jarFileName;
+   private ResourceDefinition  m_resourceDef;
+   private String              m_namespaceVersionHolder;
+   private QName               m_serviceQName;
+   private String              m_portName;
+   private QName               m_portTypeQName;
+   private List                m_implementedProps                = new ArrayList(  );
+   private String              m_webbAppName;
+   private String              m_namespaceVersionHolderClassName;
+   private String              m_port;
+   private Map                 m_serviceMethodMap;
+   private QName               m_wsdlServiceName;
+
+   /**
+    * Creates a new {@link ServiceProperties} object.
+    *
+    * @param resourceDef DOCUMENT_ME
+    */
+   public ServiceProperties( ResourceDefinition resourceDef )
+   {
+      m_resourceDef = resourceDef;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public List getAbstractResourceInitIncludeLocations(  )
+   {
+      return m_abstractResourceInitIncludes;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getBindingName(  )
+   {
+      return m_resourceDef.getBindingName(  );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param classesDir DOCUMENT_ME
+    */
+   public void setClassesDir( String classesDir )
+   {
+      m_classesDir = classesDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getClassesDir(  )
+   {
+      return m_classesDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param customMappings DOCUMENT_ME
+    */
+   public void setCustomMappings( Map customMappings )
+   {
+      this.m_customMappings = customMappings;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public Map getCustomMappings(  )
+   {
+      return m_customMappings;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param customPropNames DOCUMENT_ME
+    */
+   public void setCustomPropertyNames( QName[] customPropNames )
+   {
+      m_customPropNames = customPropNames;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName[] getCustomPropertyNames(  )
+   {
+      return m_customPropNames;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param prop_qname DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getDocumentElementXmlBeanClassName( QName prop_qname )
+   {
+      return XmlBeanNameUtils.getDocumentElementXmlBeanClassName( prop_qname );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param serviceName DOCUMENT_ME
+    */
+   public void setEndpointServiceName( String serviceName )
+   {
+      m_endpointServiceName = serviceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getEndpointServiceName(  )
+   {
+      return m_endpointServiceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param endpointURL DOCUMENT_ME
+    */
+   public void setEndpointURL( String endpointURL )
+   {
+      m_endpointURL = endpointURL;
+      try
+      {
+         setPort( Integer.toString( new java.net.URL( endpointURL ).getPort(  ) ) );
+      }
+      catch ( java.net.MalformedURLException e )
+      {
+         throw new RuntimeException( e );
+      }
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getEndpointURL(  )
+   {
+      return m_endpointURL;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param hasMetadata DOCUMENT_ME
+    */
+   public void setHasMetadata( boolean hasMetadata )
+   {
+      m_hasMetadata = hasMetadata;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public boolean getHasMetadata(  )
+   {
+      return m_hasMetadata;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param hasProps DOCUMENT_ME
+    */
+   public void setHasProperties( boolean hasProps )
+   {
+      m_hasProperties = hasProps;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public boolean getHasProperties(  )
+   {
+      return m_hasProperties;
+   }
+
+   /**
+    * Returns a Map of the properties which the implementor will need to implement.
+    *
+    * @return The Map of props which need to be implenmented/
+    */
+   public Map getImplementableProperties(  )
+   {
+      Map implementableMap = new HashMap( m_propertyMap );
+      for ( int i = 0; i < m_implementedProps.size(  ); i++ )
+      {
+         implementableMap.remove( ( (QName) m_implementedProps.get( i ) ).getLocalPart(  ).toUpperCase(  ) );
+      }
+
+      return implementableMap;
+   }
+
+   /**
+    * Returns a list of only the properties which the implementor has defined in their wsdl AND that ARE implemented for
+    * them.
+    *
+    * @return A list of the props which the implementor will not need to implement.
+    */
+   public List getImplementedProperties(  )
+   {
+      List list = new ArrayList(  );
+      for ( int i = 0; i < m_implementedProps.size(  ); i++ )
+      {
+         if ( m_propertyMap.values(  ).contains( m_implementedProps.get( i ) ) )
+         {
+            list.add( m_implementedProps.get( i ) );
+         }
+      }
+
+      return list;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param jarDir DOCUMENT_ME
+    */
+   public void setJarDir( String jarDir )
+   {
+      m_jarDir = jarDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getJarDir(  )
+   {
+      return m_jarDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param jarFileName DOCUMENT_ME
+    */
+   public void setJarFileName( String jarFileName )
+   {
+      m_jarFileName = jarFileName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getJarFileName(  )
+   {
+      return m_jarFileName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param namespace DOCUMENT_ME
+    */
+   public void setNamespace( String namespace )
+   {
+      this.m_namespace = namespace;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getNamespace(  )
+   {
+      return m_namespace;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public static String getNamespaceSetConstantName(  )
+   {
+      return NAMESPACE_SET_CONSTANT_NAME;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param namespaceVersionHolderClass DOCUMENT_ME
+    */
+   public void setNamespaceVersionHolder( Class namespaceVersionHolderClass )
+   {
+      if ( namespaceVersionHolderClass != null )
+      {
+         setNamespaceVersionHolderClassName( namespaceVersionHolderClass );
+         m_namespaceVersionHolder =
+            "private static final " + NamespaceVersionHolder.class.getName(  ) + " " + NAMESPACE_SET_CONSTANT_NAME
+            + " = new " + namespaceVersionHolderClass.getName(  ) + "();";
+      }
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getNamespaceVersionHolder(  )
+   {
+      return m_namespaceVersionHolder;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param namespaceValueHolder DOCUMENT_ME
+    */
+   public void setNamespaceVersionHolderClassName( Class namespaceValueHolder )
+   {
+      m_namespaceVersionHolderClassName = namespaceValueHolder.getName(  );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getNamespaceVersionHolderClassName(  )
+   {
+      return m_namespaceVersionHolderClassName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param packageName DOCUMENT_ME
+    */
+   public void setPackageName( String packageName )
+   {
+      this.m_packageName = packageName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getPackageName(  )
+   {
+      return m_packageName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param port DOCUMENT_ME
+    */
+   public void setPort( String port )
+   {
+      m_port = port;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getPort(  )
+   {
+      return m_port;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param portName DOCUMENT_ME
+    */
+   public void setPortName( String portName )
+   {
+      m_portName = portName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getPortName(  )
+   {
+      return m_portName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param portTypeQName DOCUMENT_ME
+    */
+   public void setPortTypeQName( QName portTypeQName )
+   {
+      m_portTypeQName = portTypeQName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getPortTypeQName(  )
+   {
+      return m_portTypeQName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param prefix DOCUMENT_ME
+    */
+   public void setPrefix( String prefix )
+   {
+      this.m_prefix = prefix;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getPrefix(  )
+   {
+      return m_prefix;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param propertyDocumentName DOCUMENT_ME
+    */
+   public void setPropertyDocumentName( String propertyDocumentName )
+   {
+      this.m_propertyDocumentName = propertyDocumentName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getPropertyDocumentName(  )
+   {
+      return m_propertyDocumentName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param propertyMap DOCUMENT_ME
+    */
+   public void setPropertyMap( Map propertyMap )
+   {
+      this.m_propertyMap = propertyMap;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public Map getPropertyMap(  )
+   {
+      return m_propertyMap;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param resourceImplements DOCUMENT_ME
+    */
+   public void setResourceImplements( String resourceImplements )
+   {
+      this.m_resourceImplements = resourceImplements;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getResourceImplements(  )
+   {
+      return m_resourceImplements;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public List getResourceIncludeFiles(  )
+   {
+      return m_resourceIncludes;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public List getResourceInitIncludeLocations(  )
+   {
+      return m_resourceInitIncludes;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param resourcekey DOCUMENT_ME
+    */
+   public void setResourcekey( QName resourcekey )
+   {
+      this.m_resourcekey = resourcekey;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getResourcekey(  )
+   {
+      return m_resourcekey;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param serviceImplements DOCUMENT_ME
+    */
+   public void setServiceImplements( String serviceImplements )
+   {
+      this.m_serviceImplements = serviceImplements;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getServiceImplements(  )
+   {
+      return m_serviceImplements;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public List getServiceIncludeFiles(  )
+   {
+      return m_serviceIncludes;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param allOperations DOCUMENT_ME
+    */
+   public void setServiceMethodMap( Map allOperations )
+   {
+      m_serviceMethodMap = allOperations;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public Map getServiceMethodMap(  )
+   {
+      return m_serviceMethodMap;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param serviceName DOCUMENT_ME
+    */
+   public void setServiceName( String serviceName )
+   {
+      this.m_serviceName = serviceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getServiceName(  )
+   {
+      return m_serviceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param serviceQname DOCUMENT_ME
+    */
+   public void setServiceQName( QName serviceQname )
+   {
+      m_serviceQName = serviceQname;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getServiceQName(  )
+   {
+      return m_serviceQName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public List getSpringBeanDefIncludeLocations(  )
+   {
+      return m_springBeanDefIncludeLocations;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param srcDir DOCUMENT_ME
+    */
+   public void setSrcDir( String srcDir )
+   {
+      m_srcDir = srcDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getSrcDir(  )
+   {
+      return m_srcDir;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param name DOCUMENT_ME
+    */
+   public void setWebappName( String name )
+   {
+      m_webbAppName = name;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getWebappName(  )
+   {
+      return m_webbAppName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param wsdlName DOCUMENT_ME
+    */
+   public void setWsdlName( String wsdlName )
+   {
+      this.m_wsdlName = wsdlName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getWsdlName(  )
+   {
+      return m_wsdlName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param wsdlServiceName DOCUMENT_ME
+    */
+   public void setWsdlServiceName( QName wsdlServiceName )
+   {
+      m_wsdlServiceName = wsdlServiceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getWsdlServiceName(  )
+   {
+      return m_wsdlServiceName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param abstractResourceInitInclude DOCUMENT_ME
+    */
+   public void addAbstractResourceInitIncludeLocation( String abstractResourceInitInclude )
+   {
+      m_abstractResourceInitIncludes.add( abstractResourceInitInclude );
+   }
+
+   /**
+    * Use this method to tell the ServiceProperties which ResourceProperties we implement for the user.
+    *
+    * @param propQnameTerminationTime
+    */
+   public void addImplementedProperty( QName propQnameTerminationTime )
+   {
+      m_implementedProps.add( propQnameTerminationTime );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param resourceInclude DOCUMENT_ME
+    */
+   public void addResourceIncludeFile( String resourceInclude )
+   {
+      m_resourceIncludes.add( resourceInclude );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param resourceInitInclude DOCUMENT_ME
+    */
+   public void addResourceInitIncludeLocation( String resourceInitInclude )
+   {
+      m_resourceInitIncludes.add( resourceInitInclude );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param serviceInclude DOCUMENT_ME
+    */
+   public void addServiceIncludeFile( String serviceInclude )
+   {
+      m_serviceIncludes.add( serviceInclude );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param springBeanDefIncludeLocation
+    */
+   public void addSpringBeanDefIncludeLocation( String springBeanDefIncludeLocation )
+   {
+      m_springBeanDefIncludeLocations.add( springBeanDefIncludeLocation );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param capability DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public boolean implementsResourceCapability( QName capability )
+   {
+      return m_resourceDef.implementsResourceCapability( capability );
+   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServer.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServer.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServer.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServer.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.webapp;
 
-import java.io.File;
-import java.io.IOException;
-
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.PosixParser;
 import org.mortbay.http.SocketListener;
 import org.mortbay.jetty.Server;
 import org.mortbay.util.MultiException;
+import java.io.File;
+import java.io.IOException;
 
 /**
  * A standalone WSRF server that uses Jetty as the HTTP server and servlet container

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServletContextListener.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServletContextListener.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServletContextListener.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/webapp/WsrfServletContextListener.java Thu Oct 20 10:50:00 2005
@@ -15,15 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.webapp;
 
-import java.util.Enumeration;
-import java.util.Properties;
-
-import javax.servlet.ServletContextEvent;
-import javax.servlet.ServletContextListener;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.WsrfRuntime;
+import javax.servlet.ServletContextEvent;
+import javax.servlet.ServletContextListener;
+import java.util.Enumeration;
+import java.util.Properties;
 
 /**
  * A servlet context listener for the WSRF webapp that provides the hook for initializing the WSRF JNDI context. Note,
@@ -35,43 +33,44 @@
  * @author Ian Springer
  */
 public class WsrfServletContextListener
-        implements ServletContextListener
+   implements ServletContextListener
 {
+   private static final Log LOG = LogFactory.getLog( WsrfServletContextListener.class );
 
-    private static final Log LOG = LogFactory.getLog( WsrfServletContextListener.class );
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param contextEvent DOCUMENT_ME
-     */
-    public void contextDestroyed( ServletContextEvent contextEvent )
-    {
-        // intentionally empty
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @param contextEvent DOCUMENT_ME
-     */
-    public void contextInitialized( ServletContextEvent contextEvent )
-    {
-        String contextName = contextEvent.getServletContext().getServletContextName();
-        LOG.info( "Initializing WSRF runtime from within webapp at context " + contextName + "..." );
-        Properties initProps = convertInitParametersToProperties( contextEvent );
-        WsrfRuntime.getRuntime().init( initProps );
-    }
+   /**
+    * DOCUMENT_ME
+    *
+    * @param contextEvent DOCUMENT_ME
+    */
+   public void contextDestroyed( ServletContextEvent contextEvent )
+   {
+      // intentionally empty
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @param contextEvent DOCUMENT_ME
+    */
+   public void contextInitialized( ServletContextEvent contextEvent )
+   {
+      String contextName = contextEvent.getServletContext(  ).getServletContextName(  );
+      LOG.info( "Initializing WSRF runtime from within webapp at context " + contextName + "..." );
+      Properties initProps = convertInitParametersToProperties( contextEvent );
+      WsrfRuntime.getRuntime(  ).init( initProps );
+   }
+
+   private Properties convertInitParametersToProperties( ServletContextEvent contextEvent )
+   {
+      Properties  props          = new Properties(  );
+      Enumeration initParamNames = contextEvent.getServletContext(  ).getInitParameterNames(  );
+      while ( initParamNames.hasMoreElements(  ) )
+      {
+         String initParamName = (String) initParamNames.nextElement(  );
+         props.setProperty( initParamName,
+                            contextEvent.getServletContext(  ).getInitParameter( initParamName ) );
+      }
 
-    private Properties convertInitParametersToProperties( ServletContextEvent contextEvent )
-    {
-        Properties props = new Properties();
-        Enumeration initParamNames = contextEvent.getServletContext().getInitParameterNames();
-        while ( initParamNames.hasMoreElements() )
-        {
-            String initParamName = (String) initParamNames.nextElement();
-            props.setProperty( initParamName, contextEvent.getServletContext().getInitParameter( initParamName ) );
-        }
-        return props;
-    }
+      return props;
+   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/IoUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/IoUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/IoUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/IoUtils.java Thu Oct 20 10:50:00 2005
@@ -15,6 +15,11 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.ws.util.i18n.Keys;
+import org.apache.ws.util.i18n.Messages;
+import org.apache.ws.util.i18n.MessagesImpl;
 import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;
 import java.io.ByteArrayInputStream;
@@ -23,12 +28,6 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.ws.util.i18n.Keys;
-import org.apache.ws.util.i18n.Messages;
-import org.apache.ws.util.i18n.MessagesImpl;
 
 /**
  * Generic I/O utility methods.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/JaxpUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/JaxpUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/JaxpUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/JaxpUtils.java Thu Oct 20 10:50:00 2005
@@ -15,20 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.StringWriter;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.util.i18n.Keys;
@@ -38,6 +24,18 @@
 import org.w3c.dom.Node;
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.OutputKeys;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.StringWriter;
 
 /**
  * A set of generic JAXP utility methods.
@@ -46,13 +44,10 @@
  */
 public abstract class JaxpUtils
 {
-   private static final Log LOG = LogFactory.getLog( JaxpUtils.class );
-
+   private static final Log      LOG = LogFactory.getLog( JaxpUtils.class );
    private static final Messages MSG = MessagesImpl.getInstance(  );
-
-   private static final Object TRANSFORMER_LOCK = new Object(  );
-
-   private static final String INDENT_SPACES = "2";
+   private static final Object   TRANSFORMER_LOCK = new Object(  );
+   private static final String   INDENT_SPACES = "2";
 
    /**
     * Thread local that gives each thread its own TransformerFactory (since it is not thread-safe).
@@ -92,8 +87,8 @@
     * @throws IOException
     */
    public static Document loadDocument( InputSource in_source )
-   throws ParserConfigurationException,
-          SAXException,
+   throws ParserConfigurationException, 
+          SAXException, 
           IOException
    {
       DocumentBuilderFactory dbf = (DocumentBuilderFactory) DOCUMENT_BUILDER_FACTORIES.get(  );
@@ -113,8 +108,8 @@
     * @throws IOException
     */
    public static Document loadDocument( InputStream in_stream )
-   throws ParserConfigurationException,
-          SAXException,
+   throws ParserConfigurationException, 
+          SAXException, 
           IOException
    {
       InputStreamReader utf8_stream = new InputStreamReader( in_stream, "UTF-8" );
@@ -136,8 +131,8 @@
     * @throws IOException
     */
    public static Document toDocument( String xmlString )
-   throws ParserConfigurationException,
-          SAXException,
+   throws ParserConfigurationException, 
+          SAXException, 
           IOException
    {
       LOG.debug( MSG.getMessage( Keys.LOAD_XML_STRING, xmlString ) );
@@ -190,14 +185,13 @@
             transformer.setOutputProperty( XalanOutputKeys.OUTPUT_PROP_INDENT_AMOUNT, INDENT_SPACES );
          }
 
-         DOMSource             domSource    = new DOMSource( node );
-         StringWriter          stringWriter = new StringWriter(  );
-         StreamResult          result       = new StreamResult( stringWriter );
+         DOMSource    domSource    = new DOMSource( node );
+         StringWriter stringWriter = new StringWriter(  );
+         StreamResult result       = new StreamResult( stringWriter );
 
          transformer.transform( domSource, result );
 
          return ( stringWriter.toString(  ) );
       }
    }
-
-}
+}
\ No newline at end of file

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/NameUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/NameUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/NameUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/NameUtils.java Thu Oct 20 10:50:00 2005
@@ -15,19 +15,17 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.util.Hashtable;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.util.i18n.Keys;
 import org.apache.ws.util.i18n.Messages;
 import org.apache.ws.util.i18n.MessagesImpl;
+import javax.xml.namespace.QName;
+import javax.xml.soap.Name;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+import java.util.Hashtable;
+import java.util.Map;
 
 /**
  * @author Ian P. Springer (Hewlett-Packard Company), Sal Campana (Hewlett-Packard Company)

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/OperationInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/OperationInfo.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/OperationInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/OperationInfo.java Thu Oct 20 10:50:00 2005
@@ -15,18 +15,16 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.util.Iterator;
-import java.util.Map;
-
+import org.apache.commons.lang.StringUtils;
+import org.apache.ws.resource.tool.GenerationUtils;
 import javax.wsdl.Fault;
 import javax.wsdl.Input;
 import javax.wsdl.Operation;
 import javax.wsdl.Output;
 import javax.wsdl.Part;
 import javax.xml.namespace.QName;
-
-import org.apache.commons.lang.StringUtils;
-import org.apache.ws.resource.tool.GenerationUtils;
+import java.util.Iterator;
+import java.util.Map;
 
 /**
  * The Java method signature info for a WSDL operation.
@@ -35,269 +33,305 @@
  */
 public class OperationInfo
 {
-    private String m_methodName;
-    private String m_methodSig;
-    private QName m_requestElemName;
-    private Map m_faults;
-    private String m_fullyQualifiedResponseClassName;
-    private String m_fullyQualifiedRequestClassName;
-
-    private String m_wsdlOperationName;
-    private String m_paramPosition;
-    private String m_parameterMode;
-    private QName m_requestMsgQName; //if request
-    private String m_requestPartName;
-    private QName m_responseMsgQName; //if response
-    private String m_responsePartName;
-
-    /**
-     * Creates a new {@link OperationInfo} object.
-     *
-     * @param op              DOCUMENT_ME
-     * @param targetNamespace DOCUMENT_ME
-     */
-    public OperationInfo(Operation op,
-                         String targetNamespace)
-    {
-        m_methodName = StringUtils.uncapitalize(op.getName());
-        m_wsdlOperationName = op.getName();
-        m_paramPosition = "0";
-        m_parameterMode = "IN";
-        Input input = op.getInput();
-
-        if (input != null)
-        {
-            m_requestMsgQName = input.getMessage().getQName();
-            Map inputParts = input.getMessage().getParts();
-            if (inputParts.size() > 1)
+   private String m_methodName;
+   private String m_methodSig;
+   private QName  m_requestElemName;
+   private Map    m_faults;
+   private String m_fullyQualifiedResponseClassName;
+   private String m_fullyQualifiedRequestClassName;
+   private String m_wsdlOperationName;
+   private String m_paramPosition;
+   private String m_parameterMode;
+   private QName  m_requestMsgQName; //if request
+   private String m_requestPartName;
+   private QName  m_responseMsgQName; //if response
+   private String m_responsePartName;
+
+   /**
+    * Creates a new {@link OperationInfo} object.
+    *
+    * @param op              DOCUMENT_ME
+    * @param targetNamespace DOCUMENT_ME
+    */
+   public OperationInfo( Operation op,
+                         String    targetNamespace )
+   {
+      m_methodName           = StringUtils.uncapitalize( op.getName(  ) );
+      m_wsdlOperationName    = op.getName(  );
+      m_paramPosition        = "0";
+      m_parameterMode        = "IN";
+      Input input            = op.getInput(  );
+
+      if ( input != null )
+      {
+         m_requestMsgQName = input.getMessage(  ).getQName(  );
+         Map inputParts = input.getMessage(  ).getParts(  );
+         if ( inputParts.size(  ) > 1 )
+         {
+            throw new RuntimeException( "WSDL input message named " + input.getMessage(  ).getQName(  )
+                                        + " has more than one part - input messages must have at most one part." );
+         }
+
+         if ( inputParts.size(  ) == 1 )
+         {
+            Part inputPart = (Part) inputParts.values(  ).iterator(  ).next(  );
+            m_requestPartName = inputPart.getName(  );
+            QName inputElementName = inputPart.getElementName(  );
+            if ( inputElementName == null )
             {
-                throw new RuntimeException("WSDL input message named " + input.getMessage().getQName()
-                                           + " has more than one part - input messages must have at most one part.");
+               inputElementName = inputPart.getTypeName(  );
             }
 
-            if (inputParts.size() == 1)
-            {
-                Part inputPart = (Part) inputParts.values().iterator().next();
-                m_requestPartName = inputPart.getName();
-                QName inputElementName = inputPart.getElementName();
-                if (inputElementName == null)
-                {
-                    inputElementName = inputPart.getTypeName();
-                }
-                m_requestElemName = inputElementName;
-                m_fullyQualifiedRequestClassName =
-                        XmlBeanNameUtils.getDocumentElementXmlBeanClassName(m_requestElemName);
-            }
-            else // no input parts
-            {
-                m_fullyQualifiedRequestClassName = "";
-            }
-        }
-        else
-        {
-            m_fullyQualifiedRequestClassName = "";
-        }
-
-        Output output = op.getOutput();
-        if (output != null)
-        {
-            m_responseMsgQName = output.getMessage().getQName();
-            Map outputParts = output.getMessage().getParts();
-            if (outputParts.size() > 1)
-            {
-                throw new RuntimeException("WSDL output message named " + input.getMessage().getQName()
-                                           + " has more than one part - output messages must have at most one part.");
-            }
+            m_requestElemName                   = inputElementName;
+            m_fullyQualifiedRequestClassName =
+               XmlBeanNameUtils.getDocumentElementXmlBeanClassName( m_requestElemName );
+         }
+         else // no input parts
+         {
+            m_fullyQualifiedRequestClassName    = "";
+         }
+      }
+      else
+      {
+         m_fullyQualifiedRequestClassName = "";
+      }
+
+      Output output = op.getOutput(  );
+      if ( output != null )
+      {
+         m_responseMsgQName = output.getMessage(  ).getQName(  );
+         Map outputParts = output.getMessage(  ).getParts(  );
+         if ( outputParts.size(  ) > 1 )
+         {
+            throw new RuntimeException( "WSDL output message named " + input.getMessage(  ).getQName(  )
+                                        + " has more than one part - output messages must have at most one part." );
+         }
+
+         if ( outputParts.size(  ) == 1 )
+         {
+            Part outputPart = (Part) outputParts.values(  ).iterator(  ).next(  );
+            m_responsePartName = outputPart.getName(  );
 
-            if (outputParts.size() == 1)
+            QName outputElementName = outputPart.getElementName(  );
+            if ( outputElementName == null )
             {
-                Part outputPart = (Part) outputParts.values().iterator().next();
-                m_responsePartName = outputPart.getName();
-
-                QName outputElementName = outputPart.getElementName();
-                if (outputElementName == null)
-                {
-                    outputElementName = outputPart.getTypeName();
-                }
-                m_fullyQualifiedResponseClassName =
-                        XmlBeanNameUtils.getDocumentElementXmlBeanClassName(outputElementName);
+               outputElementName = outputPart.getTypeName(  );
             }
-            else // no output parts
+
+            m_fullyQualifiedResponseClassName =
+               XmlBeanNameUtils.getDocumentElementXmlBeanClassName( outputElementName );
+         }
+         else // no output parts
+         {
+            m_fullyQualifiedResponseClassName = "void";
+         }
+      }
+      else // no output
+      {
+         m_fullyQualifiedResponseClassName = "void";
+      }
+
+      m_methodSig =
+         m_fullyQualifiedResponseClassName + " " + m_methodName + "( " + m_fullyQualifiedRequestClassName
+         + " requestDoc )";
+
+      //add faults to signature....
+      m_faults = op.getFaults(  );
+      if ( !m_faults.isEmpty(  ) )
+      {
+         m_methodSig += " throws ";
+         Iterator iterator = m_faults.keySet(  ).iterator(  );
+         while ( iterator.hasNext(  ) )
+         {
+            String faultName       = (String) iterator.next(  );
+            Fault  fault           = (Fault) m_faults.get( faultName );
+            Part   part            = (Part) fault.getMessage(  ).getParts(  ).values(  ).iterator(  ).next(  );
+            String javaPackageName = GenerationUtils.getJavaPackageName( targetNamespace );
+            if ( part.getElementName(  ) == null )
             {
-                m_fullyQualifiedResponseClassName = "void";
+               //its a type..get the name of the type
+               faultName = part.getTypeName(  ).getLocalPart(  );
             }
-        }
-        else // no output
-        {
-            m_fullyQualifiedResponseClassName = "void";
-        }
 
-        m_methodSig =
-                m_fullyQualifiedResponseClassName + " " + m_methodName + "( " + m_fullyQualifiedRequestClassName
-                + " requestDoc )";
-
-        //add faults to signature....
-        m_faults = op.getFaults();
-        if (!m_faults.isEmpty())
-        {
-            m_methodSig += " throws ";
-            Iterator iterator = m_faults.keySet().iterator();
-            while (iterator.hasNext())
+            faultName = javaPackageName + "." + faultName + "Exception";
+            m_methodSig += faultName;
+            if ( iterator.hasNext(  ) )
             {
-                String faultName = (String) iterator.next();
-                Fault fault = (Fault) m_faults.get(faultName);
-                Part part = (Part) fault.getMessage().getParts().values().iterator().next();
-                String javaPackageName = GenerationUtils.getJavaPackageName(targetNamespace);
-                if (part.getElementName() == null)
-                {
-                    //its a type..get the name of the type
-                    faultName = part.getTypeName().getLocalPart();
-                }
-
-                faultName = javaPackageName + "." + faultName + "Exception";
-                m_methodSig += faultName;
-                if (iterator.hasNext())
-                {
-                    m_methodSig += ", ";
-                }
+               m_methodSig += ", ";
             }
-        }
-    }
-
-    public String getWsdlOperationName()
-    {
-        return m_wsdlOperationName;
-    }
-
-    public String getParamPosition()
-    {
-        return m_paramPosition;
-    }
-
-    public String getParameterMode()
-    {
-        return m_parameterMode;
-    }
-
-    public QName getRequestMsgQName()
-    {
-        return m_requestMsgQName;
-    }
-
-    public String getRequestPartName()
-    {
-        return m_requestPartName;
-    }
-
-    public QName getResponseMsgQName()
-    {
-        return m_responseMsgQName;
-    }
-
-    public String getResponsePartName()
-    {
-        return m_responsePartName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public Map getFaults()
-    {
-        return m_faults;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getFullyQualifiedRequestClassName()
-    {
-        return m_fullyQualifiedRequestClassName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getFullyQualifiedResponseClassName()
-    {
-        return m_fullyQualifiedResponseClassName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getJavaMethodName()
-    {
-        return m_methodName;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getJavaMethodSignature()
-    {
-        return m_methodSig;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public QName getRequestElementName()
-    {
-        return m_requestElemName;
-    }
-
-    /**
-     * Returns the class name without the package
-     *
-     * @return class name without the package
-     */
-    public String getUnqualifiedRequestClassName()
-    {
-        return m_fullyQualifiedRequestClassName.substring(m_fullyQualifiedRequestClassName.lastIndexOf(".") + 1);
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getUnqualifiedRequestTypeName()
-    {
-        return getUnqualifiedRequestClassName().substring(0,
-                                                          getUnqualifiedRequestClassName().lastIndexOf("Document"));
-    }
-
-    /**
-     * Returns the class name without the package
-     *
-     * @return Class name without the package
-     */
-    public String getUnqualifiedResponseClassName()
-    {
-        return m_fullyQualifiedResponseClassName.substring(m_fullyQualifiedResponseClassName.lastIndexOf(".") + 1);
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public String getUnqualifiedResponseTypeName()
-    {
-        return getUnqualifiedResponseClassName().substring(0,
-                                                           getUnqualifiedResponseClassName().lastIndexOf("Document"));
-    }
+         }
+      }
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public Map getFaults(  )
+   {
+      return m_faults;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getFullyQualifiedRequestClassName(  )
+   {
+      return m_fullyQualifiedRequestClassName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getFullyQualifiedResponseClassName(  )
+   {
+      return m_fullyQualifiedResponseClassName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getJavaMethodName(  )
+   {
+      return m_methodName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getJavaMethodSignature(  )
+   {
+      return m_methodSig;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getParamPosition(  )
+   {
+      return m_paramPosition;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getParameterMode(  )
+   {
+      return m_parameterMode;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getRequestElementName(  )
+   {
+      return m_requestElemName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getRequestMsgQName(  )
+   {
+      return m_requestMsgQName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getRequestPartName(  )
+   {
+      return m_requestPartName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getResponseMsgQName(  )
+   {
+      return m_responseMsgQName;
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getResponsePartName(  )
+   {
+      return m_responsePartName;
+   }
+
+   /**
+    * Returns the class name without the package
+    *
+    * @return class name without the package
+    */
+   public String getUnqualifiedRequestClassName(  )
+   {
+      return m_fullyQualifiedRequestClassName.substring( m_fullyQualifiedRequestClassName.lastIndexOf( "." ) + 1 );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getUnqualifiedRequestTypeName(  )
+   {
+      return getUnqualifiedRequestClassName(  ).substring( 0,
+                                                           getUnqualifiedRequestClassName(  ).lastIndexOf( "Document" ) );
+   }
+
+   /**
+    * Returns the class name without the package
+    *
+    * @return Class name without the package
+    */
+   public String getUnqualifiedResponseClassName(  )
+   {
+      return m_fullyQualifiedResponseClassName.substring( m_fullyQualifiedResponseClassName.lastIndexOf( "." ) + 1 );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getUnqualifiedResponseTypeName(  )
+   {
+      return getUnqualifiedResponseClassName(  ).substring( 0,
+                                                            getUnqualifiedResponseClassName(  ).lastIndexOf( "Document" ) );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public String getWsdlOperationName(  )
+   {
+      return m_wsdlOperationName;
+   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/SaajUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/SaajUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/SaajUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/SaajUtils.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,11 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
+import org.apache.ws.util.helper.Dom2SaajConverter;
+import org.apache.ws.util.i18n.Keys;
+import org.apache.ws.util.i18n.Messages;
+import org.apache.ws.util.i18n.MessagesImpl;
+import org.w3c.dom.Element;
 import javax.xml.namespace.QName;
 import javax.xml.soap.Detail;
 import javax.xml.soap.DetailEntry;
@@ -27,12 +28,9 @@
 import javax.xml.soap.SOAPException;
 import javax.xml.soap.SOAPFactory;
 import javax.xml.soap.Text;
-
-import org.apache.ws.util.helper.Dom2SaajConverter;
-import org.apache.ws.util.i18n.Keys;
-import org.apache.ws.util.i18n.Messages;
-import org.apache.ws.util.i18n.MessagesImpl;
-import org.w3c.dom.Element;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
 
 /**
  * LOG-DONE

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
 import javax.wsdl.Import;
 import javax.wsdl.Input;
 import javax.wsdl.Message;
@@ -27,6 +23,9 @@
 import javax.wsdl.Port;
 import javax.wsdl.PortType;
 import javax.wsdl.Service;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
 
 /**
  * Generic utility methods for working with various JWSDL objects.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/WsrfWsdlUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/WsrfWsdlUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/WsrfWsdlUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/WsrfWsdlUtils.java Thu Oct 20 10:50:00 2005
@@ -15,21 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.StringTokenizer;
-
-import javax.wsdl.Definition;
-import javax.wsdl.Operation;
-import javax.wsdl.PortType;
-import javax.wsdl.extensions.ExtensibilityElement;
-import javax.wsdl.extensions.schema.Schema;
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.InvalidWsrfWsdlException;
 import org.apache.xml.utils.PrefixResolver;
 import org.apache.xml.utils.PrefixResolverDefault;
@@ -38,6 +23,19 @@
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
+import javax.wsdl.Definition;
+import javax.wsdl.Operation;
+import javax.wsdl.PortType;
+import javax.wsdl.extensions.ExtensibilityElement;
+import javax.wsdl.extensions.schema.Schema;
+import javax.xml.namespace.QName;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.StringTokenizer;
 
 /**
  * Utility methods for working with a WSRF WSDL definition.
@@ -237,6 +235,7 @@
             }
          }
       }
+
       return (Element[]) schemaElems.toArray( new Element[0] );
    }
 

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/XalanOutputKeys.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/XalanOutputKeys.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/XalanOutputKeys.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/XalanOutputKeys.java Thu Oct 20 10:50:00 2005
@@ -15,6 +15,7 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
+
 /**
  * Provides string constants that can be used to set Xalan-specific output
  * properties for a {@link javax.xml.transform.Transformer}, or to retrieve

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/XmlBeanNameUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/XmlBeanNameUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/XmlBeanNameUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/XmlBeanNameUtils.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.util;
 
-import javax.xml.namespace.QName;
-
 import org.apache.xmlbeans.impl.common.NameUtil;
+import javax.xml.namespace.QName;
 
 /**
  * A set of utility methods for obtaining the names of the Java classes associated with



Mime
View raw message