final class WSDLGeneratorExtensionFacade extends WSDLGeneratorExtension
WSDLGeneratorExtension
that delegates to
multiple WSDLGeneratorExtension
s.
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.
|
start
WSDLGeneratorExtensionFacade(WSDLGeneratorExtension... extensions)
public void start(WSDLGenExtnContext ctxt)
WSDLGeneratorExtension
start
in class WSDLGeneratorExtension
ctxt
- Provides the context for the generator extensionspublic void end(@NotNull WSDLGenExtnContext ctxt)
WSDLGeneratorExtension
end
in class WSDLGeneratorExtension
public void addDefinitionsExtension(com.sun.xml.txw2.TypedXmlWriter definitions)
WSDLGeneratorExtension
wsdl:definitions
element can be generated.addDefinitionsExtension
in class WSDLGeneratorExtension
definitions
- This is the wsdl:defintions
element that the extension can be added to.public void addServiceExtension(com.sun.xml.txw2.TypedXmlWriter service)
WSDLGeneratorExtension
wsdl:service
element can be generated.addServiceExtension
in class WSDLGeneratorExtension
service
- This is the wsdl:service
element that the extension can be added to.public void addPortExtension(com.sun.xml.txw2.TypedXmlWriter port)
WSDLGeneratorExtension
wsdl:port
element can be generated.addPortExtension
in class WSDLGeneratorExtension
port
- This is the wsdl:port element that the extension can be added to.public void addPortTypeExtension(com.sun.xml.txw2.TypedXmlWriter portType)
WSDLGeneratorExtension
wsdl:portType
element can be generated.
addPortTypeExtension
in class WSDLGeneratorExtension
portType
- This is the wsdl:portType element that the extension can be added to.public void addBindingExtension(com.sun.xml.txw2.TypedXmlWriter binding)
WSDLGeneratorExtension
wsdl:binding
element can be generated.
TODO: Some other information may need to be passedaddBindingExtension
in class WSDLGeneratorExtension
binding
- This is the wsdl:binding element that the extension can be added to.public void addOperationExtension(com.sun.xml.txw2.TypedXmlWriter operation, JavaMethod method)
WSDLGeneratorExtension
wsdl:portType/wsdl:operation
element can be generated.addOperationExtension
in class WSDLGeneratorExtension
operation
- 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)
WSDLGeneratorExtension
wsdl:binding/wsdl:operation
element can be generated.addBindingOperationExtension
in class WSDLGeneratorExtension
operation
- 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)
WSDLGeneratorExtension
wsdl:message
element can be generated.addInputMessageExtension
in class WSDLGeneratorExtension
message
- 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)
WSDLGeneratorExtension
wsdl:message
element can be generated.addOutputMessageExtension
in class WSDLGeneratorExtension
message
- 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)
WSDLGeneratorExtension
wsdl:portType/wsdl:operation/wsdl:input
element can be generated.addOperationInputExtension
in class WSDLGeneratorExtension
input
- 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)
WSDLGeneratorExtension
wsdl:portType/wsdl:operation/wsdl:output
element can be generated.addOperationOutputExtension
in class WSDLGeneratorExtension
output
- 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)
WSDLGeneratorExtension
wsdl:binding/wsdl:operation/wsdl:input
element can be generated.addBindingOperationInputExtension
in class WSDLGeneratorExtension
input
- 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)
WSDLGeneratorExtension
wsdl:binding/wsdl:operation/wsdl:output
element can be generated.addBindingOperationOutputExtension
in class WSDLGeneratorExtension
output
- 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)
WSDLGeneratorExtension
wsdl:binding/wsdl:operation/wsdl:fault
element can be generated.addBindingOperationFaultExtension
in class WSDLGeneratorExtension
fault
- 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)
WSDLGeneratorExtension
wsdl:portType/wsdl:operation/wsdl:fault
element can be generated.addFaultMessageExtension
in class WSDLGeneratorExtension
message
- 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)
WSDLGeneratorExtension
wsdl:portType/wsdl:operation/wsdl:fault
element can be generated.addOperationFaultExtension
in class WSDLGeneratorExtension
fault
- 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.