You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by sc...@apache.org on 2005/08/02 18:30:44 UTC
svn commit: r227033 [16/27] - in /webservices/wsrf/trunk: ./
src/java/org/apache/ws/ src/java/org/apache/ws/addressing/
src/java/org/apache/ws/addressing/v2003_03/
src/java/org/apache/ws/addressing/v2004_08_10/
src/java/org/apache/ws/resource/ src/java...
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetMultipleResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetMultipleResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetMultipleResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetMultipleResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.properties.v2004_06.porttype.GetMultipleResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP GetMultipleResourceProperties portType.
- */
-public class GetMultipleResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return GetMultipleResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return GetMultipleResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/GetMultiple.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.properties.v2004_06.porttype.GetMultipleResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP GetMultipleResourceProperties portType.
+ */
+public class GetMultipleResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return GetMultipleResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return GetMultipleResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/GetMultiple.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetResourcePropertyPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetResourcePropertyPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetResourcePropertyPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/GetResourcePropertyPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,55 +1,78 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.PropertiesResource;
-import org.apache.ws.resource.properties.v2004_06.porttype.GetResourcePropertyPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP GetResourceProperty portType.
- */
-public class GetResourcePropertyPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return GetResourcePropertyPortType.NAME;
- }
-
- public String getResourceInterfaceName()
- {
- return PropertiesResource.class.getName();
- }
-
- public String getServiceInterfaceName()
- {
- return GetResourcePropertyPortType.class.getName();
- }
-
- public String getResourceTemplateFileName()
- {
- return "templates/PropertiesResource.txt";
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/GetResource.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.PropertiesResource;
+import org.apache.ws.resource.properties.v2004_06.porttype.GetResourcePropertyPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP GetResourceProperty portType.
+ */
+public class GetResourcePropertyPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return GetResourcePropertyPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceInterfaceName( )
+ {
+ return PropertiesResource.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceTemplateFileName( )
+ {
+ return "templates/PropertiesResource.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return GetResourcePropertyPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/GetResource.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ImmediateResourceTerminationPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ImmediateResourceTerminationPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ImmediateResourceTerminationPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ImmediateResourceTerminationPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.lifetime.v2004_06.porttype.ImmediateResourceTerminationPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRL ImmediateResourceTermination portType.
- */
-public class ImmediateResourceTerminationPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return ImmediateResourceTerminationPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return ImmediateResourceTerminationPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/ImmediateResourceTermination.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.lifetime.v2004_06.porttype.ImmediateResourceTerminationPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRL ImmediateResourceTermination portType.
+ */
+public class ImmediateResourceTerminationPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return ImmediateResourceTerminationPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return ImmediateResourceTerminationPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/ImmediateResourceTermination.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/QueryResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/QueryResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/QueryResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/QueryResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.properties.v2004_06.porttype.QueryResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP QueryResourceProperties portType.
- */
-public class QueryResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return QueryResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return QueryResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/Query.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.properties.v2004_06.porttype.QueryResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP QueryResourceProperties portType.
+ */
+public class QueryResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return QueryResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return QueryResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/Query.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ScheduledResourceTerminationPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ScheduledResourceTerminationPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ScheduledResourceTerminationPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/ScheduledResourceTerminationPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,60 +1,88 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
-import org.apache.ws.resource.lifetime.v2004_06.porttype.ScheduledResourceTerminationPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRL ScheduledResourceTermination portType.
- */
-public class ScheduledResourceTerminationPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return ScheduledResourceTerminationPortType.NAME;
- }
-
- public String getResourceInterfaceName()
- {
- return ScheduledResourceTerminationResource.class.getName();
- }
-
- public String getServiceInterfaceName()
- {
- return ScheduledResourceTerminationPortType.class.getName();
- }
-
- public String getResourceTemplateFileName()
- {
- return "templates/v2004_06/ScheduledResourceTerminationResource.txt";
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/SetTerminationTime.txt";
- }
-
- public String getAbstractResourceInitMethodIncludeLocation()
- {
- return "templates/v2004_06/ScheduledResourceTermination-AbstractResource_init.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
+import org.apache.ws.resource.lifetime.v2004_06.porttype.ScheduledResourceTerminationPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRL ScheduledResourceTermination portType.
+ */
+public class ScheduledResourceTerminationPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getAbstractResourceInitMethodIncludeLocation( )
+ {
+ return "templates/v2004_06/ScheduledResourceTermination-AbstractResource_init.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return ScheduledResourceTerminationPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceInterfaceName( )
+ {
+ return ScheduledResourceTerminationResource.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceTemplateFileName( )
+ {
+ return "templates/v2004_06/ScheduledResourceTerminationResource.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return ScheduledResourceTerminationPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/SetTerminationTime.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/SetResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/SetResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/SetResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_06/SetResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_06;
-
-import org.apache.ws.resource.properties.v2004_06.porttype.SetResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP SetResourceProperties portType.
- */
-public class SetResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return SetResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return SetResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_06/Set.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_06;
+
+import org.apache.ws.resource.properties.v2004_06.porttype.SetResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP SetResourceProperties portType.
+ */
+public class SetResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return SetResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return SetResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_06/Set.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_09/MetadataExchangePortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_09/MetadataExchangePortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_09/MetadataExchangePortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_09/MetadataExchangePortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,36 +1,57 @@
-package org.apache.ws.resource.tool.porttype.v2004_09;
-
-import org.apache.ws.resource.metadataexchange.v2004_09.porttype.MetadataExchangePortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-
-/**
- * Java mapping info for the WS-MEX MetadataExchange portType.
- */
-public class MetadataExchangePortType2JavaInfo extends PortType2JavaInfo
-{
-
- /**
- * Returns the name of the portType that this object corresponds to.
- *
- * @return the name of the portType that this object corresponds to
- */
- public QName getName()
- {
- return MetadataExchangePortType.NAME;
- }
-
-
- public String getServiceInterfaceName()
- {
- return MetadataExchangePortType.class.getName();
- }
-
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_09/GetMetadata.txt";
- }
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_09;
+
+import org.apache.ws.resource.metadataexchange.v2004_09.porttype.MetadataExchangePortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WS-MEX MetadataExchange portType.
+ */
+public class MetadataExchangePortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * Returns the name of the portType that this object corresponds to.
+ *
+ * @return the name of the portType that this object corresponds to
+ */
+ public QName getName( )
+ {
+ return MetadataExchangePortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return MetadataExchangePortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_09/GetMetadata.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/DeleteResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/DeleteResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/DeleteResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/DeleteResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,41 +1,55 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-
-import org.apache.ws.resource.properties.v2004_11.porttype.DeleteResourcePropertiesPortType;
-
-/**
- * Java mapping info for the WSRP DeleteResourceProperties portType.
- */
-public class DeleteResourcePropertiesPortType2JavaInfo extends org.apache.ws.resource.tool.PortType2JavaInfo
-{
- public javax.xml.namespace.QName getName()
- {
- return DeleteResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return DeleteResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/DeleteResourceProp.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.DeleteResourcePropertiesPortType;
+
+/**
+ * Java mapping info for the WSRP DeleteResourceProperties portType.
+ */
+public class DeleteResourcePropertiesPortType2JavaInfo
+ extends org.apache.ws.resource.tool.PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public javax.xml.namespace.QName getName( )
+ {
+ return DeleteResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return DeleteResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/DeleteResourceProp.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetMultipleResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetMultipleResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetMultipleResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetMultipleResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.properties.v2004_11.porttype.GetMultipleResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP GetMultipleResourceProperties portType.
- */
-public class GetMultipleResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return GetMultipleResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return GetMultipleResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/GetMultiple.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.GetMultipleResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP GetMultipleResourceProperties portType.
+ */
+public class GetMultipleResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return GetMultipleResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return GetMultipleResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/GetMultiple.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyDocumentPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyDocumentPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyDocumentPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyDocumentPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,41 +1,55 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyDocumentPortType;
-
-/**
- * Java mapping info for the WSRP GetResourcePropertyDocument portType.
- */
-public class GetResourcePropertyDocumentPortType2JavaInfo extends org.apache.ws.resource.tool.PortType2JavaInfo
-{
-
- public javax.xml.namespace.QName getName()
- {
- return GetResourcePropertyDocumentPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return GetResourcePropertyDocumentPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/GetResourcePropDoc.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyDocumentPortType;
+
+/**
+ * Java mapping info for the WSRP GetResourcePropertyDocument portType.
+ */
+public class GetResourcePropertyDocumentPortType2JavaInfo
+ extends org.apache.ws.resource.tool.PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public javax.xml.namespace.QName getName( )
+ {
+ return GetResourcePropertyDocumentPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return GetResourcePropertyDocumentPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/GetResourcePropDoc.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/GetResourcePropertyPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,55 +1,78 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.PropertiesResource;
-import org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP GetResourceProperty portType.
- */
-public class GetResourcePropertyPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return GetResourcePropertyPortType.NAME;
- }
-
- public String getResourceInterfaceName()
- {
- return PropertiesResource.class.getName();
- }
-
- public String getServiceInterfaceName()
- {
- return GetResourcePropertyPortType.class.getName();
- }
-
- public String getResourceTemplateFileName()
- {
- return "templates/PropertiesResource.txt";
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/GetResource.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.PropertiesResource;
+import org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP GetResourceProperty portType.
+ */
+public class GetResourcePropertyPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return GetResourcePropertyPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceInterfaceName( )
+ {
+ return PropertiesResource.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceTemplateFileName( )
+ {
+ return "templates/PropertiesResource.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return GetResourcePropertyPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/GetResource.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ImmediateResourceTerminationPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ImmediateResourceTerminationPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ImmediateResourceTerminationPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ImmediateResourceTerminationPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.lifetime.v2004_11.porttype.ImmediateResourceTerminationPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRL ImmediateResourceTermination portType.
- */
-public class ImmediateResourceTerminationPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return ImmediateResourceTerminationPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return ImmediateResourceTerminationPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/ImmediateResourceTermination.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.lifetime.v2004_11.porttype.ImmediateResourceTerminationPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRL ImmediateResourceTermination portType.
+ */
+public class ImmediateResourceTerminationPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return ImmediateResourceTerminationPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return ImmediateResourceTerminationPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/ImmediateResourceTermination.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/InsertResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/InsertResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/InsertResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/InsertResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,42 +1,55 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-
-import org.apache.ws.resource.properties.v2004_11.porttype.InsertResourcePropertiesPortType;
-
-/**
- * Java mapping info for the WSRP InsertResourceProperties portType.
- */
-public class InsertResourcePropertiesPortType2JavaInfo extends org.apache.ws.resource.tool.PortType2JavaInfo
-{
-
- public javax.xml.namespace.QName getName()
- {
- return InsertResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return InsertResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/InsertResourceProp.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.InsertResourcePropertiesPortType;
+
+/**
+ * Java mapping info for the WSRP InsertResourceProperties portType.
+ */
+public class InsertResourcePropertiesPortType2JavaInfo
+ extends org.apache.ws.resource.tool.PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public javax.xml.namespace.QName getName( )
+ {
+ return InsertResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return InsertResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/InsertResourceProp.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/QueryResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/QueryResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/QueryResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/QueryResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,47 +1,67 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.properties.v2004_11.porttype.QueryResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP GetMultipleResourceProperties portType.
- */
-public class QueryResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return QueryResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return QueryResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/Query.txt";
- }
- public String getAbstractResourceInitMethodIncludeLocation()
- {
- return "templates/v2004_11/Query-ExpressionDialect_init.txt";
- }
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.QueryResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP GetMultipleResourceProperties portType.
+ */
+public class QueryResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getAbstractResourceInitMethodIncludeLocation( )
+ {
+ return "templates/v2004_11/Query-ExpressionDialect_init.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return QueryResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return QueryResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/Query.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ScheduledResourceTerminationPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ScheduledResourceTerminationPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ScheduledResourceTerminationPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/ScheduledResourceTerminationPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,60 +1,88 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
-import org.apache.ws.resource.lifetime.v2004_11.porttype.ScheduledResourceTerminationPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRL ScheduledResourceTermination portType.
- */
-public class ScheduledResourceTerminationPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return ScheduledResourceTerminationPortType.NAME;
- }
-
- public String getResourceInterfaceName()
- {
- return ScheduledResourceTerminationResource.class.getName();
- }
-
- public String getServiceInterfaceName()
- {
- return ScheduledResourceTerminationPortType.class.getName();
- }
-
- public String getResourceTemplateFileName()
- {
- return "templates/v2004_11/ScheduledResourceTerminationResource.txt";
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/SetTerminationTime.txt";
- }
-
- public String getAbstractResourceInitMethodIncludeLocation()
- {
- return "templates/v2004_11/ScheduledResourceTermination-AbstractResource_init.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
+import org.apache.ws.resource.lifetime.v2004_11.porttype.ScheduledResourceTerminationPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRL ScheduledResourceTermination portType.
+ */
+public class ScheduledResourceTerminationPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getAbstractResourceInitMethodIncludeLocation( )
+ {
+ return "templates/v2004_11/ScheduledResourceTermination-AbstractResource_init.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return ScheduledResourceTerminationPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceInterfaceName( )
+ {
+ return ScheduledResourceTerminationResource.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getResourceTemplateFileName( )
+ {
+ return "templates/v2004_11/ScheduledResourceTerminationResource.txt";
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return ScheduledResourceTerminationPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/SetTerminationTime.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/SetResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/SetResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/SetResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/SetResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,44 +1,57 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-import org.apache.ws.resource.properties.v2004_11.porttype.SetResourcePropertiesPortType;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-
-/**
- * Java mapping info for the WSRP SetResourceProperties portType.
- */
-public class SetResourcePropertiesPortType2JavaInfo extends PortType2JavaInfo
-{
-
- public QName getName()
- {
- return SetResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return SetResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/Set.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.SetResourcePropertiesPortType;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+
+/**
+ * Java mapping info for the WSRP SetResourceProperties portType.
+ */
+public class SetResourcePropertiesPortType2JavaInfo
+ extends PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public QName getName( )
+ {
+ return SetResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return SetResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/Set.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/UpdateResourcePropertiesPortType2JavaInfo.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/UpdateResourcePropertiesPortType2JavaInfo.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/UpdateResourcePropertiesPortType2JavaInfo.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/porttype/v2004_11/UpdateResourcePropertiesPortType2JavaInfo.java Tue Aug 2 09:28:49 2005
@@ -1,42 +1,55 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.porttype.v2004_11;
-
-
-import org.apache.ws.resource.properties.v2004_11.porttype.UpdateResourcePropertiesPortType;
-
-/**
- * Java mapping info for the WSRP UpdateResourceProperties portType.
- */
-public class UpdateResourcePropertiesPortType2JavaInfo extends org.apache.ws.resource.tool.PortType2JavaInfo
-{
-
- public javax.xml.namespace.QName getName()
- {
- return UpdateResourcePropertiesPortType.NAME;
- }
-
- public String getServiceInterfaceName()
- {
- return UpdateResourcePropertiesPortType.class.getName();
- }
-
- public String getServiceTemplateFileName()
- {
- return "templates/v2004_11/UpdateResourceProp.txt";
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.porttype.v2004_11;
+
+import org.apache.ws.resource.properties.v2004_11.porttype.UpdateResourcePropertiesPortType;
+
+/**
+ * Java mapping info for the WSRP UpdateResourceProperties portType.
+ */
+public class UpdateResourcePropertiesPortType2JavaInfo
+ extends org.apache.ws.resource.tool.PortType2JavaInfo
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public javax.xml.namespace.QName getName( )
+ {
+ return UpdateResourcePropertiesPortType.NAME;
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceInterfaceName( )
+ {
+ return UpdateResourcePropertiesPortType.class.getName( );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public String getServiceTemplateFileName( )
+ {
+ return "templates/v2004_11/UpdateResourceProp.txt";
+ }
+}
\ No newline at end of file
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ImplementsListBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ImplementsListBuilder.java?rev=227033&r1=227032&r2=227033&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ImplementsListBuilder.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/velocity/ImplementsListBuilder.java Tue Aug 2 09:28:49 2005
@@ -1,87 +1,106 @@
-/*=============================================================================*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *=============================================================================*/
-package org.apache.ws.resource.tool.velocity;
-
-import org.apache.ws.resource.Resource;
-import org.apache.ws.resource.ResourceDefinition;
-import org.apache.ws.resource.handler.WsrfService;
-import org.apache.ws.resource.tool.PortType2JavaInfo;
-
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-/**
- * Provides utility methods for building up the "implements ..." lists for
- * generated service and resource classes.
- *
- * @author Ian Springer (ian DOT springer AT hp DOT com)
- */
-public abstract class ImplementsListBuilder
-{
-
- public static String getServiceImplementsList( ResourceDefinition resourceDef, Map ptInfoMap )
- {
- Iterator ptNameIter = resourceDef.getImplementedResourceCapabilities().keySet().iterator();
- List interfaceNames = new ArrayList();
- interfaceNames.add( WsrfService.class.getName() );
- while ( ptNameIter.hasNext() )
- {
- QName ptName = (QName) ptNameIter.next();
- PortType2JavaInfo ptInfo = (PortType2JavaInfo) ptInfoMap.get( ptName );
- if ( ptInfo != null && ptInfo.getServiceInterfaceName() != null )
- {
- interfaceNames.add( ptInfo.getServiceInterfaceName() );
- }
- }
- return toCommaSeparatedString( interfaceNames );
- }
-
- public static String getResourceImplementsList( ResourceDefinition resourceDef, Map ptInfoMap )
- {
- Iterator ptNameIter = resourceDef.getImplementedResourceCapabilities().keySet().iterator();
- List interfaceNames = new ArrayList();
- while ( ptNameIter.hasNext() )
- {
- QName ptName = (QName) ptNameIter.next();
- PortType2JavaInfo ptInfo = (PortType2JavaInfo) ptInfoMap.get( ptName );
- if ( ptInfo != null && ptInfo.getResourceInterfaceName() != null )
- {
- interfaceNames.add( ptInfo.getResourceInterfaceName() );
- }
- }
- if ( interfaceNames.isEmpty() )
- {
- interfaceNames.add( Resource.class.getName() );
- }
- return toCommaSeparatedString( interfaceNames );
- }
-
- private static String toCommaSeparatedString( List list )
- {
- StringBuffer buf = new StringBuffer();
- for ( int i = 0; i < list.size() - 1; i++ )
- {
- buf.append( list.get( i ) );
- buf.append( ", " );
- }
- buf.append( list.get( list.size() - 1 ) );
- return buf.toString();
- }
-
-}
+/*=============================================================================*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.resource.tool.velocity;
+
+import org.apache.ws.resource.Resource;
+import org.apache.ws.resource.ResourceDefinition;
+import org.apache.ws.resource.handler.WsrfService;
+import org.apache.ws.resource.tool.PortType2JavaInfo;
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Provides utility methods for building up the "implements ..." lists for
+ * generated service and resource classes.
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public abstract class ImplementsListBuilder
+{
+ /**
+ * DOCUMENT_ME
+ *
+ * @param resourceDef DOCUMENT_ME
+ * @param ptInfoMap DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public static String getResourceImplementsList( ResourceDefinition resourceDef,
+ Map ptInfoMap )
+ {
+ Iterator ptNameIter = resourceDef.getImplementedResourceCapabilities( ).keySet( ).iterator( );
+ List interfaceNames = new ArrayList( );
+ while ( ptNameIter.hasNext( ) )
+ {
+ QName ptName = (QName) ptNameIter.next( );
+ PortType2JavaInfo ptInfo = (PortType2JavaInfo) ptInfoMap.get( ptName );
+ if ( ( ptInfo != null ) && ( ptInfo.getResourceInterfaceName( ) != null ) )
+ {
+ interfaceNames.add( ptInfo.getResourceInterfaceName( ) );
+ }
+ }
+
+ if ( interfaceNames.isEmpty( ) )
+ {
+ interfaceNames.add( Resource.class.getName( ) );
+ }
+
+ return toCommaSeparatedString( interfaceNames );
+ }
+
+ /**
+ * DOCUMENT_ME
+ *
+ * @param resourceDef DOCUMENT_ME
+ * @param ptInfoMap DOCUMENT_ME
+ *
+ * @return DOCUMENT_ME
+ */
+ public static String getServiceImplementsList( ResourceDefinition resourceDef,
+ Map ptInfoMap )
+ {
+ Iterator ptNameIter = resourceDef.getImplementedResourceCapabilities( ).keySet( ).iterator( );
+ List interfaceNames = new ArrayList( );
+ interfaceNames.add( WsrfService.class.getName( ) );
+ while ( ptNameIter.hasNext( ) )
+ {
+ QName ptName = (QName) ptNameIter.next( );
+ PortType2JavaInfo ptInfo = (PortType2JavaInfo) ptInfoMap.get( ptName );
+ if ( ( ptInfo != null ) && ( ptInfo.getServiceInterfaceName( ) != null ) )
+ {
+ interfaceNames.add( ptInfo.getServiceInterfaceName( ) );
+ }
+ }
+
+ return toCommaSeparatedString( interfaceNames );
+ }
+
+ private static String toCommaSeparatedString( List list )
+ {
+ StringBuffer buf = new StringBuffer( );
+ for ( int i = 0; i < ( list.size( ) - 1 ); i++ )
+ {
+ buf.append( list.get( i ) );
+ buf.append( ", " );
+ }
+
+ buf.append( list.get( list.size( ) - 1 ) );
+ return buf.toString( );
+ }
+}
\ No newline at end of file