| java.lang.Object com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
All known Subclasses: com.sun.xml.ws.wsdl.writer.W3CAddressingWSDLGeneratorExtension, com.sun.xml.ws.wsdl.writer.WSDLGeneratorExtensionFacade,
WSDLGeneratorExtension | abstract public class WSDLGeneratorExtension (Code) | | This is a callback interface used to extend the WSDLGenerator. Implementors
of this interface can add their own WSDL extensions to the generated WSDL.
There are a number of methods that will be invoked allowing the extensions
to be generated on various WSDL elements.
The JAX-WS WSDLGenerator uses TXW to serialize the WSDL out to XML.
More information about TXW can be located at
http://txw.dev.java.net.
|
Method Summary | |
public void | addBindingExtension(TypedXmlWriter binding) This method is invoked so that extensions to a wsdl:binding
element can be generated. | public void | addBindingOperationExtension(TypedXmlWriter operation, JavaMethod method) This method is invoked so that extensions to a wsdl:binding/wsdl:operation
element can be generated. | public void | addBindingOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:fault
element can be generated. | public void | addBindingOperationInputExtension(TypedXmlWriter input, JavaMethod method) This method is invoked so that extensions to a
wsdl:binding/wsdl:operation/wsdl:input
element can be generated. | public void | addBindingOperationOutputExtension(TypedXmlWriter output, JavaMethod method) This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:output
element can be generated. | public void | addDefinitionsExtension(TypedXmlWriter definitions) This method is invoked so that extensions to a wsdl:definitions
element can be generated. | public void | addFaultMessageExtension(TypedXmlWriter message, JavaMethod method, CheckedException ce) This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault
element can be generated. | public void | addInputMessageExtension(TypedXmlWriter message, JavaMethod method) This method is invoked so that extensions to an input wsdl:message
element can be generated. | public void | addOperationExtension(TypedXmlWriter operation, JavaMethod method) This method is invoked so that extensions to a wsdl:portType/wsdl:operation
element can be generated. | public void | addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault
element can be generated. | public void | addOperationInputExtension(TypedXmlWriter input, JavaMethod method) This method is invoked so that extensions to a
wsdl:portType/wsdl:operation/wsdl:input
element can be generated. | public void | addOperationOutputExtension(TypedXmlWriter output, JavaMethod method) This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:output
element can be generated. | public void | addOutputMessageExtension(TypedXmlWriter message, JavaMethod method) This method is invoked so that extensions to an output wsdl:message
element can be generated. | public void | addPortExtension(TypedXmlWriter port) This method is invoked so that extensions to a wsdl:port
element can be generated. | public void | addPortTypeExtension(TypedXmlWriter portType) This method is invoked so that extensions to a wsdl:portType
element can be generated. | public void | addServiceExtension(TypedXmlWriter service) This method is invoked so that extensions to a wsdl:service
element can be generated. | public void | end(WSDLGenExtnContext ctxt) Called before writing . | public void | start(TypedXmlWriter root, SEIModel model, WSBinding binding, Container container) Called at the very beginning of the process.
This method is invoked so that the root element can be manipulated before
any tags have been written. | public void | start(WSDLGenExtnContext ctxt) Called at the very beginning of the process.
This method is invoked so that the root element can be manipulated before
any tags have been written. |
addBindingExtension | public void addBindingExtension(TypedXmlWriter binding)(Code) | | This method is invoked so that extensions to a wsdl:binding
element can be generated.
TODO: Some other information may need to be passed
Parameters: binding - This is the wsdl:binding element that the extension can be added to. |
addBindingOperationExtension | public void addBindingOperationExtension(TypedXmlWriter operation, JavaMethod method)(Code) | | This method is invoked so that extensions to a wsdl:binding/wsdl:operation
element can be generated.
Parameters: operation - This is the wsdl:binding/wsdl:operation element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addBindingOperationFaultExtension | public void addBindingOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)(Code) | | This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:fault
element can be generated.
Parameters: fault - This is the wsdl:binding/wsdl:operation/wsdl:fault or wsdl:portType/wsdl:output/wsdl:operation/wsdl:faultelement that the extension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addBindingOperationInputExtension | public void addBindingOperationInputExtension(TypedXmlWriter input, JavaMethod method)(Code) | | This method is invoked so that extensions to a
wsdl:binding/wsdl:operation/wsdl:input
element can be generated.
Parameters: input - This is the wsdl:binding/wsdl:operation/wsdl:input element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addBindingOperationOutputExtension | public void addBindingOperationOutputExtension(TypedXmlWriter output, JavaMethod method)(Code) | | This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:output
element can be generated.
Parameters: output - This is the wsdl:binding/wsdl:operation/wsdl:output element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addDefinitionsExtension | public void addDefinitionsExtension(TypedXmlWriter definitions)(Code) | | This method is invoked so that extensions to a wsdl:definitions
element can be generated.
Parameters: definitions - This is the wsdl:defintions element that the extension can be added to. |
addFaultMessageExtension | public void addFaultMessageExtension(TypedXmlWriter message, JavaMethod method, CheckedException ce)(Code) | | This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault
element can be generated.
Parameters: message - This is the fault wsdl:message element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation Parameters: ce - CheckedException that abstracts wsdl:fault |
addInputMessageExtension | public void addInputMessageExtension(TypedXmlWriter message, JavaMethod method)(Code) | | This method is invoked so that extensions to an input wsdl:message
element can be generated.
Parameters: message - This is the input wsdl:message element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addOperationExtension | public void addOperationExtension(TypedXmlWriter operation, JavaMethod method)(Code) | | This method is invoked so that extensions to a wsdl:portType/wsdl:operation
element can be generated.
Parameters: operation - This is the wsdl:portType/wsdl:operation element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addOperationFaultExtension | public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)(Code) | | This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault
element can be generated.
Parameters: fault - This is the wsdl:portType/wsdl:operation/wsdl:fault element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation Parameters: ce - CheckedException that abstracts wsdl:fault |
addOperationInputExtension | public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method)(Code) | | This method is invoked so that extensions to a
wsdl:portType/wsdl:operation/wsdl:input
element can be generated.
Parameters: input - This is the wsdl:portType/wsdl:operation/wsdl:input element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addOperationOutputExtension | public void addOperationOutputExtension(TypedXmlWriter output, JavaMethod method)(Code) | | This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:output
element can be generated.
Parameters: output - This is the wsdl:portType/wsdl:operation/wsdl:output element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addOutputMessageExtension | public void addOutputMessageExtension(TypedXmlWriter message, JavaMethod method)(Code) | | This method is invoked so that extensions to an output wsdl:message
element can be generated.
Parameters: message - This is the output wsdl:message element that theextension can be added to. Parameters: method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation |
addPortExtension | public void addPortExtension(TypedXmlWriter port)(Code) | | This method is invoked so that extensions to a wsdl:port
element can be generated.
Parameters: port - This is the wsdl:port element that the extension can be added to. |
addPortTypeExtension | public void addPortTypeExtension(TypedXmlWriter portType)(Code) | | This method is invoked so that extensions to a wsdl:portType
element can be generated.
Parameters: portType - This is the wsdl:portType element that the extension can be added to. |
addServiceExtension | public void addServiceExtension(TypedXmlWriter service)(Code) | | This method is invoked so that extensions to a wsdl:service
element can be generated.
Parameters: service - This is the wsdl:service element that the extension can be added to. |
start | public void start(TypedXmlWriter root, SEIModel model, WSBinding binding, Container container)(Code) | | Called at the very beginning of the process.
This method is invoked so that the root element can be manipulated before
any tags have been written. This allows to set e.g. namespace prefixes.
Another purpose of this method is to let extensions know what model
we are generating a WSDL for.
Parameters: root - This is the root element of the generated WSDL. Parameters: model - WSDL is being generated from this SEIModel. Parameters: binding - The binding for which we generate WSDL. the binding WSBinding represents a particularconfiguration of JAXWS. This can be typically be overriden by Parameters: container - The entry point to the external environment.If this extension is used at the runtime to generate WSDL, you get a Containerthat was given to WSEndpoint.create.TODO: think about tool side |
start | public void start(WSDLGenExtnContext ctxt)(Code) | | Called at the very beginning of the process.
This method is invoked so that the root element can be manipulated before
any tags have been written. This allows to set e.g. namespace prefixes.
Another purpose of this method is to let extensions know what model
we are generating a WSDL for.
Parameters: ctxt - Provides the context for the generator extensions |
|
|