Apache CXF API

org.apache.cxf.tools.corba.common
Class WSDLCorbaFactory

java.lang.Object
  extended by org.apache.cxf.tools.corba.common.WSDLCorbaFactory
Direct Known Subclasses:
WSDLCorbaFactoryImpl

public abstract class WSDLCorbaFactory
extends Object


Constructor Summary
WSDLCorbaFactory()
           
 
Method Summary
abstract  javax.wsdl.Definition newDefinition()
          Create a new instance of a Definition.
static WSDLCorbaFactory newInstance()
          Get a new instance of a WSDLFactory.
static WSDLCorbaFactory newInstance(String factoryImplName)
          Get a new instance of a WSDLFactory.
abstract  javax.wsdl.extensions.ExtensionRegistry newPopulatedExtensionRegistry()
          Create a new instance of an ExtensionRegistry with pre-registered serializers/deserializers for the SOAP, HTTP and MIME extensions.
abstract  javax.wsdl.xml.WSDLReader newWSDLReader()
          Create a new instance of a WSDLReader.
abstract  javax.wsdl.xml.WSDLWriter newWSDLWriter()
          Create a new instance of a WSDLWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLCorbaFactory

public WSDLCorbaFactory()
Method Detail

newInstance

public static WSDLCorbaFactory newInstance()
                                    throws javax.wsdl.WSDLException
Get a new instance of a WSDLFactory. This method follows (almost) the same basic sequence of steps that JAXP follows to determine the fully-qualified class name of the class which implements WSDLFactory. The steps (in order) are:
  Check the javax.wsdl.factory.WSDLFactory system property.
  Check the lib/wsdl.properties file in the JRE directory. The key
 will have the same name as the above system property.
  Use the default value.
Once an instance of a WSDLFactory is obtained, invoke newDefinition(), newWSDLReader(), or newWSDLWriter(), to create the desired instances.

Throws:
javax.wsdl.WSDLException

newInstance

public static WSDLCorbaFactory newInstance(String factoryImplName)
                                    throws javax.wsdl.WSDLException
Get a new instance of a WSDLFactory. This method returns an instance of the class factoryImplName. Once an instance of a WSDLFactory is obtained, invoke newDefinition(), newWSDLReader(), or newWSDLWriter(), to create the desired instances.

Parameters:
factoryImplName - the fully-qualified class name of the class which provides a concrete implementation of the abstract class WSDLFactory.
Throws:
javax.wsdl.WSDLException

newDefinition

public abstract javax.wsdl.Definition newDefinition()
Create a new instance of a Definition.


newWSDLReader

public abstract javax.wsdl.xml.WSDLReader newWSDLReader()
Create a new instance of a WSDLReader.


newWSDLWriter

public abstract javax.wsdl.xml.WSDLWriter newWSDLWriter()
Create a new instance of a WSDLWriter.


newPopulatedExtensionRegistry

public abstract javax.wsdl.extensions.ExtensionRegistry newPopulatedExtensionRegistry()
Create a new instance of an ExtensionRegistry with pre-registered serializers/deserializers for the SOAP, HTTP and MIME extensions. Java extensionTypes are also mapped for all the SOAP, HTTP and MIME extensions.


Apache CXF API

Apache CXF