|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
public abstract class AbstractWsdl4jDefinitionBuilder
Abstract base class for Wsdl11DefinitionBuilder implementations that use WSDL4J. Creates a base Definition, and passes that to subclass template methods.
| Field Summary | |
|---|---|
protected Log |
logger
Logger available to subclasses. |
| Constructor Summary | |
|---|---|
AbstractWsdl4jDefinitionBuilder()
|
|
| Method Summary | |
|---|---|
void |
buildBindings()
Adds bindings to the definition. |
protected abstract void |
buildBindings(Definition definition)
Adds bindings to the definition. |
void |
buildDefinition()
Builds a new, empty definition. |
void |
buildImports()
Adds imports to the definition. |
protected abstract void |
buildImports(Definition definition)
Adds imports to the definition. |
void |
buildMessages()
Adds messages to the definition. |
protected abstract void |
buildMessages(Definition definition)
Adds messages to the definition. |
void |
buildPortTypes()
Adds portTypes to the definition. |
protected abstract void |
buildPortTypes(Definition definition)
Adds port types to the definition. |
void |
buildServices()
Adds services to the definition. |
protected abstract void |
buildServices(Definition definition)
Adds services to the definition. |
void |
buildTypes()
Adds types to the definition. |
protected abstract void |
buildTypes(Definition definition)
Adds types to the definition. |
protected ExtensibilityElement |
createExtension(Class parentType,
QName elementType)
Creates a WSDL4J extensibility element. |
Wsdl11Definition |
getDefinition()
Returns the built Wsdl11Definition. |
protected void |
populateDefinition(Definition definition)
Called after the Definition has been created, but before any sub-elements are added. |
protected void |
populateExtensionRegistry(ExtensionRegistry extensionRegistry)
Allows customization of the given ExtensionRegistry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log logger
| Constructor Detail |
|---|
public AbstractWsdl4jDefinitionBuilder()
| Method Detail |
|---|
public final void buildDefinition()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildDefinition in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected void populateDefinition(Definition definition)
throws WSDLException
Definition has been created, but before any sub-elements are added. Default
implementation is empty.
definition - the WSDL4J Definition
WSDLException - in case of errorsbuildDefinition()
public final void buildImports()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildImports in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildImports(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final void buildTypes()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildTypes in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildTypes(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final void buildMessages()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildMessages in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildMessages(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final void buildPortTypes()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildPortTypes in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildPortTypes(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final void buildBindings()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildBindings in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildBindings(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final void buildServices()
throws WsdlDefinitionException
Wsdl11DefinitionBuilder
buildServices in interface Wsdl11DefinitionBuilderWsdlDefinitionException - in case of errors
protected abstract void buildServices(Definition definition)
throws WSDLException
definition - the WSDL4J Definition
WSDLException - in case of errors
public final Wsdl11Definition getDefinition()
throws WsdlDefinitionException
Wsdl11DefinitionBuilderWsdl11Definition.
getDefinition in interface Wsdl11DefinitionBuildernull if Wsdl11DefinitionBuilder.buildDefinition() has not been called
WsdlDefinitionException - in case of errors
protected ExtensibilityElement createExtension(Class parentType,
QName elementType)
throws WSDLException
parentType - a class object indicating where in the WSDL definition this extension will existelementType - the qname of the extensibility element
WSDLException - in case of errorsExtensionRegistry.createExtension(Class,javax.xml.namespace.QName)protected void populateExtensionRegistry(ExtensionRegistry extensionRegistry)
ExtensionRegistry. Default implementation is empty.
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||