|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.wsdl.factory.WSDLFactory
public abstract class WSDLFactory
This abstract class defines a factory API that enables applications to obtain a WSDLFactory capable of producing new Definitions, new WSDLReaders, and new WSDLWriters. Some ideas used here have been shamelessly copied from the wonderful JAXP and Xerces work.
| Constructor Summary | |
|---|---|
WSDLFactory()
|
|
| Method Summary | |
|---|---|
abstract Definition |
newDefinition()
Create a new instance of a Definition. |
static WSDLFactory |
newInstance()
Get a new instance of a WSDLFactory. |
static WSDLFactory |
newInstance(java.lang.String factoryImplName)
Get a new instance of a WSDLFactory. |
static WSDLFactory |
newInstance(java.lang.String factoryImplName,
java.lang.ClassLoader classLoader)
Get a new instance of a WSDLFactory. |
abstract ExtensionRegistry |
newPopulatedExtensionRegistry()
Create a new instance of an ExtensionRegistry with pre-registered serializers/deserializers for the SOAP, HTTP and MIME extensions. |
abstract WSDLReader |
newWSDLReader()
Create a new instance of a WSDLReader. |
abstract 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 |
|---|
public WSDLFactory()
| Method Detail |
|---|
public static WSDLFactory newInstance()
throws WSDLException
The steps in order are:
Once an instance of a WSDLFactory is obtained, invoke newDefinition(), newWSDLReader(), or newWSDLWriter(), to create the desired instances.
WSDLException
public static WSDLFactory newInstance(java.lang.String factoryImplName)
throws WSDLException
factoryImplName - the fully-qualified class name of the
class which provides a concrete implementation of the abstract
class WSDLFactory.
WSDLException
public static WSDLFactory newInstance(java.lang.String factoryImplName,
java.lang.ClassLoader classLoader)
throws WSDLException
factoryImplName - the fully-qualified class name of the
class which provides a concrete implementation of the abstract
class WSDLFactory.classLoader - the ClassLoader to use to load the WSDLFactory
implementation.
WSDLExceptionpublic abstract Definition newDefinition()
public abstract WSDLReader newWSDLReader()
public abstract WSDLWriter newWSDLWriter()
public abstract ExtensionRegistry newPopulatedExtensionRegistry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||