|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.model.wsdl.WSDLBoundOperationImpl
public final class WSDLBoundOperationImpl
Implementation of WSDLBoundOperation
| Nested Class Summary | |
|---|---|
protected static class |
com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl.UnknownWSDLExtension
|
| Nested classes/interfaces inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
|---|
WSDLBoundOperation.ANONYMOUS |
| Field Summary | |
|---|---|
protected Set<WSDLExtension> |
extensions
|
protected List<com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl.UnknownWSDLExtension> |
notUnderstoodExtensions
|
| Constructor Summary | |
|---|---|
WSDLBoundOperationImpl(XMLStreamReader xsr,
EditableWSDLBoundPortType owner,
QName name)
|
|
| Method Summary | ||
|---|---|---|
void |
addExtension(WSDLExtension ex)
Adds a new WSDLExtension
to this object. |
|
void |
addFault(EditableWSDLBoundFault fault)
Add Fault |
|
void |
addNotUnderstoodExtension(QName extnEl,
Locator locator)
This can be used if a WSDL extension element that has wsdl:required=true is not understood |
|
void |
addPart(EditableWSDLPart part,
WebParam.Mode mode)
Add Part |
|
boolean |
areRequiredExtensionsUnderstood()
This method should be called after freezing the WSDLModel |
|
void |
freeze(EditableWSDLModel parent)
Freezes WSDL model to prevent further modification |
|
WSDLBoundOperation.ANONYMOUS |
getAnonymous()
Gets the soapbinding:binding/operation/wsaw:Anonymous. |
|
EditableWSDLBoundPortType |
getBoundPortType()
Gives the owner WSDLBoundPortType |
|
|
getExtension(Class<T> type)
Gets the extension that is assignable to the given type. |
|
Iterable<WSDLExtension> |
getExtensions()
Gets all the WSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension). |
|
|
getExtensions(Class<T> type)
Gets all the extensions that is assignable to the given type. |
|
ParameterBinding |
getFaultBinding(String part)
Gets ParameterBinding for a given wsdl part in wsdl:fault |
|
Map<String,ParameterBinding> |
getFaultParts()
Map of wsdl:fault part name and the binding as ParameterBinding |
|
List<? extends EditableWSDLBoundFault> |
getFaults()
Gets all the WSDLFault bound to this operation. |
|
Map<String,? extends EditableWSDLPart> |
getInParts()
Gets all inbound WSDLPart by its name. |
|
ParameterBinding |
getInputBinding(String part)
Gets ParameterBinding for a given wsdl part in wsdl:input |
|
Map<String,ParameterBinding> |
getInputParts()
Map of wsdl:input part name and the binding as ParameterBinding |
|
Locator |
getLocation()
Gets the source location information in the parsed WSDL. |
|
String |
getMimeTypeForFaultPart(String part)
Gets the MIME type for a given wsdl part in wsdl:fault |
|
String |
getMimeTypeForInputPart(String part)
Gets the MIME type for a given wsdl part in wsdl:input |
|
String |
getMimeTypeForOutputPart(String part)
Gets the MIME type for a given wsdl part in wsdl:output |
|
QName |
getName()
Short-cut for getOperation().getName() |
|
List<? extends com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl.UnknownWSDLExtension> |
getNotUnderstoodExtensions()
Lists extensions marked as not understood |
|
EditableWSDLOperation |
getOperation()
Gets the wsdl:portType/wsdl:operation model - WSDLOperation,
associated with this binding operation. |
|
Map<String,? extends EditableWSDLPart> |
getOutParts()
Gets all outbound WSDLPart by its name. |
|
ParameterBinding |
getOutputBinding(String part)
Gets ParameterBinding for a given wsdl part in wsdl:output |
|
Map<String,ParameterBinding> |
getOutputParts()
Map of wsdl:output part name and the binding as ParameterBinding |
|
EditableWSDLPart |
getPart(String partName,
WebParam.Mode mode)
Gets WSDLPart for the given wsdl:input or wsdl:output part |
|
String |
getRequestNamespace()
For rpclit gives namespace value on soapbinding:body@namespace |
|
QName |
getRequestPayloadName()
Gets the payload QName of the request message. |
|
String |
getResponseNamespace()
For rpclit gives namespace value on soapbinding:body@namespace |
|
QName |
getResponsePayloadName()
Gets the payload QName of the response message. |
|
String |
getSOAPAction()
Gives soapbinding:operation@soapAction value. |
|
void |
setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
Sets the soapbinding:binding/operation/wsaw:Anonymous. |
|
void |
setFaultExplicitBodyParts(boolean b)
Sets fault explicit body parts |
|
void |
setInputExplicitBodyParts(boolean b)
Sets input explicit body parts |
|
void |
setOutputExplicitBodyParts(boolean b)
Sets output explicit body parts |
|
void |
setRequestNamespace(String ns)
Set request namespace |
|
void |
setResponseNamespace(String ns)
Set response namespace |
|
void |
setSoapAction(String soapAction)
Set SOAP action |
|
void |
setStyle(SOAPBinding.Style style)
Set parameter style |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible |
|---|
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions |
| Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
|---|
getLocation |
| Field Detail |
|---|
protected final Set<WSDLExtension> extensions
protected List<com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl.UnknownWSDLExtension> notUnderstoodExtensions
| Constructor Detail |
|---|
public WSDLBoundOperationImpl(XMLStreamReader xsr,
EditableWSDLBoundPortType owner,
QName name)
name - wsdl:operation name qualified value| Method Detail |
|---|
public QName getName()
WSDLBoundOperationgetOperation().getName()
getName in interface WSDLBoundOperationpublic String getSOAPAction()
WSDLBoundOperation
getSOAPAction in interface WSDLBoundOperationpublic void setSoapAction(String soapAction)
EditableWSDLBoundOperation
setSoapAction in interface EditableWSDLBoundOperationsoapAction - SOAP action
public EditableWSDLPart getPart(String partName,
WebParam.Mode mode)
WSDLBoundOperationWSDLPart for the given wsdl:input or wsdl:output part
getPart in interface EditableWSDLBoundOperationgetPart in interface WSDLBoundOperation
public void addPart(EditableWSDLPart part,
WebParam.Mode mode)
EditableWSDLBoundOperation
addPart in interface EditableWSDLBoundOperationpart - Partmode - Modepublic Map<String,ParameterBinding> getInputParts()
ParameterBinding
getInputParts in interface WSDLBoundOperationpublic Map<String,ParameterBinding> getOutputParts()
ParameterBinding
getOutputParts in interface WSDLBoundOperationpublic Map<String,ParameterBinding> getFaultParts()
ParameterBinding
getFaultParts in interface WSDLBoundOperationpublic Map<String,? extends EditableWSDLPart> getInParts()
WSDLBoundOperationWSDLPart by its name.
getInParts in interface EditableWSDLBoundOperationgetInParts in interface WSDLBoundOperationpublic Map<String,? extends EditableWSDLPart> getOutParts()
WSDLBoundOperationWSDLPart by its name.
getOutParts in interface EditableWSDLBoundOperationgetOutParts in interface WSDLBoundOperation@NotNull public List<? extends EditableWSDLBoundFault> getFaults()
WSDLBoundOperationWSDLFault bound to this operation.
getFaults in interface EditableWSDLBoundOperationgetFaults in interface WSDLBoundOperation
public void addFault(@NotNull
EditableWSDLBoundFault fault)
EditableWSDLBoundOperation
addFault in interface EditableWSDLBoundOperationfault - Faultpublic ParameterBinding getInputBinding(String part)
ParameterBinding for a given wsdl part in wsdl:input
getInputBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public ParameterBinding getOutputBinding(String part)
ParameterBinding for a given wsdl part in wsdl:output
getOutputBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public ParameterBinding getFaultBinding(String part)
ParameterBinding for a given wsdl part in wsdl:fault
getFaultBinding in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public String getMimeTypeForInputPart(String part)
getMimeTypeForInputPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public String getMimeTypeForOutputPart(String part)
getMimeTypeForOutputPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public String getMimeTypeForFaultPart(String part)
getMimeTypeForFaultPart in interface WSDLBoundOperationpart - Name of wsdl:part, must be non-null
public EditableWSDLOperation getOperation()
WSDLBoundOperationWSDLOperation,
associated with this binding operation.
getOperation in interface EditableWSDLBoundOperationgetOperation in interface WSDLBoundOperationWSDLOperationpublic EditableWSDLBoundPortType getBoundPortType()
WSDLBoundOperationWSDLBoundPortType
getBoundPortType in interface EditableWSDLBoundOperationgetBoundPortType in interface WSDLBoundOperationpublic void setInputExplicitBodyParts(boolean b)
EditableWSDLBoundOperation
setInputExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if input body part is explicitpublic void setOutputExplicitBodyParts(boolean b)
EditableWSDLBoundOperation
setOutputExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if output body part is explicitpublic void setFaultExplicitBodyParts(boolean b)
EditableWSDLBoundOperation
setFaultExplicitBodyParts in interface EditableWSDLBoundOperationb - True, if fault body part is explicitpublic void setStyle(SOAPBinding.Style style)
EditableWSDLBoundOperation
setStyle in interface EditableWSDLBoundOperationstyle - Style@Nullable public QName getRequestPayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getRequestPayloadName in interface WSDLBoundOperation@Nullable public QName getResponsePayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getResponsePayloadName in interface WSDLBoundOperationpublic String getRequestNamespace()
getRequestNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setRequestNamespace(String ns)
EditableWSDLBoundOperation
setRequestNamespace in interface EditableWSDLBoundOperationns - Namespacepublic String getResponseNamespace()
getResponseNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setResponseNamespace(String ns)
EditableWSDLBoundOperation
setResponseNamespace in interface EditableWSDLBoundOperationns - Namespacepublic void freeze(EditableWSDLModel parent)
EditableWSDLBoundOperation
freeze in interface EditableWSDLBoundOperationparent - WSDL Modelpublic void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
EditableWSDLBoundOperation
setAnonymous in interface EditableWSDLBoundOperationanonymous - Anonymous value of the operationpublic WSDLBoundOperation.ANONYMOUS getAnonymous()
WSDLBoundOperation
getAnonymous in interface WSDLBoundOperationpublic final Iterable<WSDLExtension> getExtensions()
WSDLExtensibleWSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension).
getExtensions in interface WSDLExtensiblepublic final <T extends WSDLExtension> Iterable<T> getExtensions(Class<T> type)
WSDLExtensibleThis allows clients to find specific extensions in a type-safe and convenient way.
getExtensions in interface WSDLExtensibletype - The type of the extension to obtain. Must not be null.
public <T extends WSDLExtension> T getExtension(Class<T> type)
WSDLExtensibleThis is just a convenient version that does
Iterator itr = getExtensions(type); if(itr.hasNext()) return itr.next(); else return null;
getExtension in interface WSDLExtensiblepublic void addExtension(WSDLExtension ex)
WSDLExtensibleWSDLExtension
to this object.
addExtension in interface WSDLExtensibleex - must not be null.public List<? extends com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl.UnknownWSDLExtension> getNotUnderstoodExtensions()
WSDLExtensible
getNotUnderstoodExtensions in interface WSDLExtensible
public void addNotUnderstoodExtension(QName extnEl,
Locator locator)
addNotUnderstoodExtension in interface WSDLExtensibleextnEl - locator - public boolean areRequiredExtensionsUnderstood()
areRequiredExtensionsUnderstood in interface WSDLExtensible@NotNull public final Locator getLocation()
WSDLObject
getLocation in interface WSDLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||