final class WSDLGeneratorExtensionFacade extends WSDLGeneratorExtension
WSDLGeneratorExtension that delegates to
multiple WSDLGeneratorExtensions.
This simplifies WSDLGenerator since it now
only needs to work with one WSDLGeneratorExtension.
| Constructor and Description |
|---|
WSDLGeneratorExtensionFacade(WSDLGeneratorExtension... extensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBindingExtension(com.sun.xml.txw2.TypedXmlWriter binding)
This method is invoked so that extensions to a
wsdl:binding
element can be generated. |
void |
addBindingOperationExtension(com.sun.xml.txw2.TypedXmlWriter operation,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:binding/wsdl:operation
element can be generated. |
void |
addBindingOperationFaultExtension(com.sun.xml.txw2.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. |
void |
addBindingOperationInputExtension(com.sun.xml.txw2.TypedXmlWriter input,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:binding/wsdl:operation/wsdl:input
element can be generated. |
void |
addBindingOperationOutputExtension(com.sun.xml.txw2.TypedXmlWriter output,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:binding/wsdl:operation/wsdl:output
element can be generated. |
void |
addDefinitionsExtension(com.sun.xml.txw2.TypedXmlWriter definitions)
This method is invoked so that extensions to a
wsdl:definitions
element can be generated. |
void |
addFaultMessageExtension(com.sun.xml.txw2.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. |
void |
addInputMessageExtension(com.sun.xml.txw2.TypedXmlWriter message,
JavaMethod method)
This method is invoked so that extensions to an input
wsdl:message
element can be generated. |
void |
addOperationExtension(com.sun.xml.txw2.TypedXmlWriter operation,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:portType/wsdl:operation
element can be generated. |
void |
addOperationFaultExtension(com.sun.xml.txw2.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. |
void |
addOperationInputExtension(com.sun.xml.txw2.TypedXmlWriter input,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:portType/wsdl:operation/wsdl:input
element can be generated. |
void |
addOperationOutputExtension(com.sun.xml.txw2.TypedXmlWriter output,
JavaMethod method)
This method is invoked so that extensions to a
wsdl:portType/wsdl:operation/wsdl:output
element can be generated. |
void |
addOutputMessageExtension(com.sun.xml.txw2.TypedXmlWriter message,
JavaMethod method)
This method is invoked so that extensions to an output
wsdl:message
element can be generated. |
void |
addPortExtension(com.sun.xml.txw2.TypedXmlWriter port)
This method is invoked so that extensions to a
wsdl:port
element can be generated. |
void |
addPortTypeExtension(com.sun.xml.txw2.TypedXmlWriter portType)
This method is invoked so that extensions to a
wsdl:portType
element can be generated. |
void |
addServiceExtension(com.sun.xml.txw2.TypedXmlWriter service)
This method is invoked so that extensions to a
wsdl:service
element can be generated. |
void |
end(WSDLGenExtnContext ctxt)
Called before writing .
|
void |
start(WSDLGenExtnContext ctxt)
Called at the very beginning of the process.
|
startWSDLGeneratorExtensionFacade(WSDLGeneratorExtension... extensions)
public void start(WSDLGenExtnContext ctxt)
WSDLGeneratorExtensionstart in class WSDLGeneratorExtensionctxt - Provides the context for the generator extensionspublic void end(@NotNull
WSDLGenExtnContext ctxt)
WSDLGeneratorExtensionend in class WSDLGeneratorExtensionpublic void addDefinitionsExtension(com.sun.xml.txw2.TypedXmlWriter definitions)
WSDLGeneratorExtensionwsdl:definitions
element can be generated.addDefinitionsExtension in class WSDLGeneratorExtensiondefinitions - This is the wsdl:defintions element that the extension can be added to.public void addServiceExtension(com.sun.xml.txw2.TypedXmlWriter service)
WSDLGeneratorExtensionwsdl:service
element can be generated.addServiceExtension in class WSDLGeneratorExtensionservice - This is the wsdl:service element that the extension can be added to.public void addPortExtension(com.sun.xml.txw2.TypedXmlWriter port)
WSDLGeneratorExtensionwsdl:port
element can be generated.addPortExtension in class WSDLGeneratorExtensionport - This is the wsdl:port element that the extension can be added to.public void addPortTypeExtension(com.sun.xml.txw2.TypedXmlWriter portType)
WSDLGeneratorExtensionwsdl:portType
element can be generated.
addPortTypeExtension in class WSDLGeneratorExtensionportType - This is the wsdl:portType element that the extension can be added to.public void addBindingExtension(com.sun.xml.txw2.TypedXmlWriter binding)
WSDLGeneratorExtensionwsdl:binding
element can be generated.
TODO: Some other information may need to be passedaddBindingExtension in class WSDLGeneratorExtensionbinding - This is the wsdl:binding element that the extension can be added to.public void addOperationExtension(com.sun.xml.txw2.TypedXmlWriter operation,
JavaMethod method)
WSDLGeneratorExtensionwsdl:portType/wsdl:operation
element can be generated.addOperationExtension in class WSDLGeneratorExtensionoperation - This is the wsdl:portType/wsdl:operation element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addBindingOperationExtension(com.sun.xml.txw2.TypedXmlWriter operation,
JavaMethod method)
WSDLGeneratorExtensionwsdl:binding/wsdl:operation
element can be generated.addBindingOperationExtension in class WSDLGeneratorExtensionoperation - This is the wsdl:binding/wsdl:operation element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addInputMessageExtension(com.sun.xml.txw2.TypedXmlWriter message,
JavaMethod method)
WSDLGeneratorExtensionwsdl:message
element can be generated.addInputMessageExtension in class WSDLGeneratorExtensionmessage - This is the input wsdl:message element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addOutputMessageExtension(com.sun.xml.txw2.TypedXmlWriter message,
JavaMethod method)
WSDLGeneratorExtensionwsdl:message
element can be generated.addOutputMessageExtension in class WSDLGeneratorExtensionmessage - This is the output wsdl:message element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addOperationInputExtension(com.sun.xml.txw2.TypedXmlWriter input,
JavaMethod method)
WSDLGeneratorExtensionwsdl:portType/wsdl:operation/wsdl:input
element can be generated.addOperationInputExtension in class WSDLGeneratorExtensioninput - This is the wsdl:portType/wsdl:operation/wsdl:input element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addOperationOutputExtension(com.sun.xml.txw2.TypedXmlWriter output,
JavaMethod method)
WSDLGeneratorExtensionwsdl:portType/wsdl:operation/wsdl:output
element can be generated.addOperationOutputExtension in class WSDLGeneratorExtensionoutput - This is the wsdl:portType/wsdl:operation/wsdl:output element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addBindingOperationInputExtension(com.sun.xml.txw2.TypedXmlWriter input,
JavaMethod method)
WSDLGeneratorExtensionwsdl:binding/wsdl:operation/wsdl:input
element can be generated.addBindingOperationInputExtension in class WSDLGeneratorExtensioninput - This is the wsdl:binding/wsdl:operation/wsdl:input element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addBindingOperationOutputExtension(com.sun.xml.txw2.TypedXmlWriter output,
JavaMethod method)
WSDLGeneratorExtensionwsdl:binding/wsdl:operation/wsdl:output
element can be generated.addBindingOperationOutputExtension in class WSDLGeneratorExtensionoutput - This is the wsdl:binding/wsdl:operation/wsdl:output element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addBindingOperationFaultExtension(com.sun.xml.txw2.TypedXmlWriter fault,
JavaMethod method,
CheckedException ce)
WSDLGeneratorExtensionwsdl:binding/wsdl:operation/wsdl:fault
element can be generated.addBindingOperationFaultExtension in class WSDLGeneratorExtensionfault - This is the wsdl:binding/wsdl:operation/wsdl:fault or wsdl:portType/wsdl:output/wsdl:operation/wsdl:fault
element that the extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationpublic void addFaultMessageExtension(com.sun.xml.txw2.TypedXmlWriter message,
JavaMethod method,
CheckedException ce)
WSDLGeneratorExtensionwsdl:portType/wsdl:operation/wsdl:fault
element can be generated.addFaultMessageExtension in class WSDLGeneratorExtensionmessage - This is the fault wsdl:message element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationce - CheckedException that abstracts wsdl:faultpublic void addOperationFaultExtension(com.sun.xml.txw2.TypedXmlWriter fault,
JavaMethod method,
CheckedException ce)
WSDLGeneratorExtensionwsdl:portType/wsdl:operation/wsdl:fault
element can be generated.addOperationFaultExtension in class WSDLGeneratorExtensionfault - This is the wsdl:portType/wsdl:operation/wsdl:fault element that the
extension can be added to.method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operationce - CheckedException that abstracts wsdl:faultCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.