org.jboss.webservice.metadata.jaxrpcmapping
Class JavaWsdlMapping

java.lang.Object
  extended by org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping
All Implemented Interfaces:
Serializable

public class JavaWsdlMapping
extends Object
implements Serializable

XML mapping of the java-wsdl-mapping root element in jaxrpc-mapping.xml

Since:
14-May-2004
Author:
Thomas.Diesler@jboss.org
See Also:
Serialized Form

Constructor Summary
JavaWsdlMapping()
           
 
Method Summary
 void addExceptionMappings(ExceptionMapping exceptionMapping)
           
 void addJavaXmlTypeMappings(JavaXmlTypeMapping typeMapping)
           
 void addPackageMapping(PackageMapping packageMapping)
           
 void addServiceEndpointInterfaceMappings(ServiceEndpointInterfaceMapping serviceEndpointInterfaceMapping)
           
 void addServiceInterfaceMappings(ServiceInterfaceMapping serviceInterfaceMapping)
           
 ExceptionMapping getExceptionMappingForExceptionType(String javaType)
          Get the exception mapping fo a given exception type
 ExceptionMapping getExceptionMappingForMessageQName(javax.xml.namespace.QName wsdlMessage)
          Get the exception mapping fo a given wsdl message
 ExceptionMapping[] getExceptionMappings()
           
 JavaXmlTypeMapping[] getJavaXmlTypeMappings()
           
 PackageMapping[] getPackageMappings()
           
 String getPackageNameForNamespaceURI(String nsURI)
          Get the package string for a given URI
 javax.xml.namespace.QName getPortTypeQNameForServiceEndpointInterface(String seiName)
          Get the port type qname for a given service endpoint infterface
 ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMapping(String seiName)
          Get the service endpoint infterface mapping for a service endpoint infterface
 ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMappingByPortType(javax.xml.namespace.QName portType)
          Get the service endpoint infterfacemapping for a given port type qname
 ServiceEndpointInterfaceMapping[] getServiceEndpointInterfaceMappings()
           
 ServiceInterfaceMapping[] getServiceInterfaceMappings()
           
 JavaXmlTypeMapping getTypeMappingForQName(javax.xml.namespace.QName xmlType)
          Get the type mapping fo a given root-type-qname
 void removePackageMappingsByPackageType(String packageType)
           
 String serialize()
          Serialize the model as a String (Should return the mapping file)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaWsdlMapping

public JavaWsdlMapping()
Method Detail

getPackageMappings

public PackageMapping[] getPackageMappings()

getJavaXmlTypeMappings

public JavaXmlTypeMapping[] getJavaXmlTypeMappings()

getExceptionMappings

public ExceptionMapping[] getExceptionMappings()

getServiceInterfaceMappings

public ServiceInterfaceMapping[] getServiceInterfaceMappings()

getServiceEndpointInterfaceMappings

public ServiceEndpointInterfaceMapping[] getServiceEndpointInterfaceMappings()

getPackageNameForNamespaceURI

public String getPackageNameForNamespaceURI(String nsURI)
Get the package string for a given URI


getTypeMappingForQName

public JavaXmlTypeMapping getTypeMappingForQName(javax.xml.namespace.QName xmlType)
Get the type mapping fo a given root-type-qname


getExceptionMappingForMessageQName

public ExceptionMapping getExceptionMappingForMessageQName(javax.xml.namespace.QName wsdlMessage)
Get the exception mapping fo a given wsdl message


getExceptionMappingForExceptionType

public ExceptionMapping getExceptionMappingForExceptionType(String javaType)
Get the exception mapping fo a given exception type


getPortTypeQNameForServiceEndpointInterface

public javax.xml.namespace.QName getPortTypeQNameForServiceEndpointInterface(String seiName)
Get the port type qname for a given service endpoint infterface


getServiceEndpointInterfaceMappingByPortType

public ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMappingByPortType(javax.xml.namespace.QName portType)
Get the service endpoint infterfacemapping for a given port type qname


getServiceEndpointInterfaceMapping

public ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMapping(String seiName)
Get the service endpoint infterface mapping for a service endpoint infterface


serialize

public String serialize()
Serialize the model as a String (Should return the mapping file)

Returns:

addPackageMapping

public void addPackageMapping(PackageMapping packageMapping)

addJavaXmlTypeMappings

public void addJavaXmlTypeMappings(JavaXmlTypeMapping typeMapping)

addExceptionMappings

public void addExceptionMappings(ExceptionMapping exceptionMapping)

addServiceInterfaceMappings

public void addServiceInterfaceMappings(ServiceInterfaceMapping serviceInterfaceMapping)

addServiceEndpointInterfaceMappings

public void addServiceEndpointInterfaceMappings(ServiceEndpointInterfaceMapping serviceEndpointInterfaceMapping)

removePackageMappingsByPackageType

public void removePackageMappingsByPackageType(String packageType)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.