org.apache.tuscany.sca.interfacedef.wsdl.impl
Class WSDLFactoryImpl

java.lang.Object
  extended by org.apache.tuscany.sca.interfacedef.wsdl.impl.WSDLFactoryImpl
All Implemented Interfaces:
WSDLFactory
Direct Known Subclasses:
DefaultWSDLFactory

public abstract class WSDLFactoryImpl
extends java.lang.Object
implements WSDLFactory

A factory for the WSDL model.


Constructor Summary
WSDLFactoryImpl(ModelFactoryExtensionPoint modelFactories)
           
 
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.
 WSDLInterfaceIntrospectorImpl getWSDLInterfaceIntrospector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLFactoryImpl

public WSDLFactoryImpl(ModelFactoryExtensionPoint modelFactories)
Method Detail

createWSDLInterface

public WSDLInterface createWSDLInterface()
Description copied from interface: WSDLFactory
Creates a new WSDL interface.

Specified by:
createWSDLInterface in interface WSDLFactory
Returns:
a new WSDL interface

createWSDLInterface

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

Specified by:
createWSDLInterface in interface WSDLFactory
Parameters:
portType - the portType to inspect
Returns:
a WSDLInterface corresponding to the WSDL portType
Throws:
InvalidInterfaceException

createWSDLInterface

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

Specified by:
createWSDLInterface in interface WSDLFactory
portType - the portType to inspect
Throws:
InvalidInterfaceException

createWSDLDefinition

public WSDLDefinition createWSDLDefinition()
Description copied from interface: WSDLFactory
Creates a new WSDL definition.

Specified by:
createWSDLDefinition in interface WSDLFactory
Returns:
a new WSDL definition

createWSDLInterfaceContract

public WSDLInterfaceContract createWSDLInterfaceContract()
Description copied from interface: WSDLFactory
Creates a new WSDL interface contract.

Specified by:
createWSDLInterfaceContract in interface WSDLFactory
Returns:

getWSDLInterfaceIntrospector

public WSDLInterfaceIntrospectorImpl getWSDLInterfaceIntrospector()