|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension
com.sun.xml.ws.wsdl.writer.WSDLGeneratorExtensionFacade
final class WSDLGeneratorExtensionFacade
WSDLGeneratorExtension
that delegates to
multiple WSDLGeneratorExtension
s.
This simplifies WSDLGenerator
since it now
only needs to work with one WSDLGeneratorExtension
.
Constructor Summary | |
---|---|
WSDLGeneratorExtensionFacade(WSDLGeneratorExtension... extensions)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension |
---|
start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
WSDLGeneratorExtensionFacade(WSDLGeneratorExtension... extensions)
Method Detail |
---|
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 passed
addBindingExtension
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:fault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |