public class W3CAddressingWSDLGeneratorExtension extends WSDLGeneratorExtension
Constructor and Description |
---|
W3CAddressingWSDLGeneratorExtension() |
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 |
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. |
protected static String |
getDefaultAction(JavaMethod method) |
void |
start(WSDLGenExtnContext ctxt)
Called at the very beginning of the process.
|
addBindingOperationExtension, addBindingOperationFaultExtension, addBindingOperationInputExtension, addBindingOperationOutputExtension, addDefinitionsExtension, addFaultMessageExtension, addInputMessageExtension, addOperationExtension, addOutputMessageExtension, addPortExtension, addPortTypeExtension, addServiceExtension, end, start
public void start(WSDLGenExtnContext ctxt)
WSDLGeneratorExtension
start
in class WSDLGeneratorExtension
ctxt
- Provides the context for the generator extensionspublic 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:operationprotected static final String getDefaultAction(JavaMethod method)
public 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 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:faultpublic 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.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.