org.apache.tuscany.sca.interfacedef.wsdl
Interface WSDLFactory

All Known Implementing Classes:
DefaultWSDLFactory, WSDLFactoryImpl

public interface WSDLFactory

Factory for the WSDL model.


Method Summary
 WSDLDefinition createWSDLDefinition()
          Creates a new WSDL definition.
 WSDLInterface createWSDLInterface()
          Creates a new WSDL interface.
 WSDLInterface createWSDLInterface(PortType portType, WSDLDefinition wsdlDefinition, ModelResolver resolver)
          Creates a new WSDL interface from a WSDL portType.
 void createWSDLInterface(WSDLInterface wsdlInterface, PortType portType, WSDLDefinition wsdlDefinition, ModelResolver resolver)
          Creates the contents of a WSDL interface from a WSDL portType.
 WSDLInterfaceContract createWSDLInterfaceContract()
          Creates a new WSDL interface contract.
 

Method Detail

createWSDLInterface

WSDLInterface createWSDLInterface()
Creates a new WSDL interface.

Returns:
a new WSDL interface

createWSDLInterface

WSDLInterface createWSDLInterface(PortType portType,
                                  WSDLDefinition wsdlDefinition,
                                  ModelResolver resolver)
                                  throws InvalidInterfaceException
Creates a new WSDL interface from a WSDL portType.

Parameters:
portType - the portType to inspect
Returns:
a WSDLInterface corresponding to the WSDL portType
Throws:
InvalidInterfaceException

createWSDLInterface

void createWSDLInterface(WSDLInterface wsdlInterface,
                         PortType portType,
                         WSDLDefinition wsdlDefinition,
                         ModelResolver resolver)
                         throws InvalidInterfaceException
Creates the contents of a WSDL interface from a WSDL portType.

Parameters:
portType - the portType to inspect
Throws:
InvalidInterfaceException

createWSDLDefinition

WSDLDefinition createWSDLDefinition()
Creates a new WSDL definition.

Returns:
a new WSDL definition

createWSDLInterfaceContract

WSDLInterfaceContract createWSDLInterfaceContract()
Creates a new WSDL interface contract.

Returns: