|
||||||||||
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.W3CAddressingMetadataWSDLGeneratorExtension
public class W3CAddressingMetadataWSDLGeneratorExtension
This extension class generates wsam:Action values for input, output and faults in the generated wsdl.
Constructor Summary | |
---|---|
W3CAddressingMetadataWSDLGeneratorExtension()
|
Method Summary | |
---|---|
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 java.lang.String |
getDefaultFaultAction(JavaMethod method,
CheckedException ce)
|
protected static java.lang.String |
getDefaultInputAction(JavaMethod method)
|
protected static java.lang.String |
getDefaultOutputAction(JavaMethod method)
|
void |
start(WSDLGenExtnContext ctxt)
Called at the very beginning of the process. |
Methods inherited from class com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension |
---|
addBindingExtension, addBindingOperationExtension, addBindingOperationFaultExtension, addBindingOperationInputExtension, addBindingOperationOutputExtension, addDefinitionsExtension, addFaultMessageExtension, addInputMessageExtension, addOperationExtension, addOutputMessageExtension, addPortExtension, addPortTypeExtension, addServiceExtension, end, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public W3CAddressingMetadataWSDLGeneratorExtension()
Method Detail |
---|
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: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 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:faultprotected static final java.lang.String getDefaultInputAction(JavaMethod method)
protected static final java.lang.String getDefaultOutputAction(JavaMethod method)
protected static final java.lang.String getDefaultFaultAction(JavaMethod method, CheckedException ce)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |