Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.mdds
Class MddsModelFactory

java.lang.Object
  extended by oracle.webservices.mdds.MddsModelFactory


public abstract class MddsModelFactory
extends Object

Constructor Summary
MddsModelFactory()
           

 

Method Summary
abstract  Model createModelFromWSDL(Definition def)
          Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
abstract  Model createModelFromWSDL(Definition def, ConnectionConfig config)
          Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
abstract  Model createModelFromWSDL(String urlStr)
          Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
abstract  MddsSchemaBuilder getMddsSchemaBuilder(Definition def)
          Given a WSDL definition, load the WSDL collect its schemas and returns a MddsSchemaBuilder.
abstract  MddsSchemaBuilder getMddsSchemaBuilder(String urlStr)
          Given a WSDL url, load the WSDL collect its schemas and returns a MddsSchemaBuilder.
static MddsModelFactory newInstance()
          Get a new factory instance.
abstract  void setErrorHandler(MddsErrorHandler errorHandler)
          Set the error handler for this factory.
abstract  void setOption(String name, Object value)
          Set an option for this factory.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MddsModelFactory

public MddsModelFactory()

Method Detail

newInstance

public static MddsModelFactory newInstance()
Get a new factory instance. Each instance maintains its own options and error handler.

setOption

public abstract void setOption(String name,
                               Object value)
                        throws MddsException
Set an option for this factory. Options may be implementation specific. Currently there are not standard options.
Parameters:
name - Option name
value - Value, option-specific
Throws:
MddsException - Throws and exception if the option is unsupported or the value is invalid

setErrorHandler

public abstract void setErrorHandler(MddsErrorHandler errorHandler)
Set the error handler for this factory.
Parameters:
errorHandler -

createModelFromWSDL

public abstract Model createModelFromWSDL(String urlStr)
                                   throws WSDLException,
                                          MddsException,
                                          IOException
Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
Parameters:
urlStr - URL of the WSDL (as a string)
Returns:
Throws:
WSDLException
MddsException
IOException

createModelFromWSDL

public abstract Model createModelFromWSDL(Definition def)
                                   throws WSDLException,
                                          MddsException,
                                          IOException
Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
Parameters:
def - Definition of the WSDL
Returns:
Throws:
WSDLException
MddsException
IOException

createModelFromWSDL

public abstract Model createModelFromWSDL(Definition def,
                                          ConnectionConfig config)
                                   throws WSDLException,
                                          MddsException,
                                          IOException
Given a WSDL url, load the WSDL and its imports, create a webservices model and decorate that model with MDDS annotations.
Parameters:
def - Definition of the WSDL
config - Configuration settings for the HTTP connection
Returns:
Throws:
WSDLException
MddsException
IOException

getMddsSchemaBuilder

public abstract MddsSchemaBuilder getMddsSchemaBuilder(String urlStr)
                                                throws WSDLException,
                                                       MddsException,
                                                       IOException
Given a WSDL url, load the WSDL collect its schemas and returns a MddsSchemaBuilder.
Parameters:
urlStr - URL of the WSDL (as a string)
Returns:
Throws:
WSDLException
MddsException
IOException

getMddsSchemaBuilder

public abstract MddsSchemaBuilder getMddsSchemaBuilder(Definition def)
                                                throws WSDLException,
                                                       MddsException,
                                                       IOException
Given a WSDL definition, load the WSDL collect its schemas and returns a MddsSchemaBuilder.
Parameters:
def - Definition of the WSDL
Returns:
Throws:
WSDLException
MddsException
IOException

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.