|
||||||||||
| 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 |
AbstractExtensibleImpl.UnknownWSDLExtension
|
| Nested classes/interfaces inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
|---|
WSDLBoundOperation.ANONYMOUS |
| Field Summary | |
|---|---|
protected java.util.Set<WSDLExtension> |
extensions
|
protected java.util.List<AbstractExtensibleImpl.UnknownWSDLExtension> |
notUnderstoodExtensions
|
| Constructor Summary | |
|---|---|
WSDLBoundOperationImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLBoundPortTypeImpl owner,
javax.xml.namespace.QName name)
|
|
| Method Summary | ||
|---|---|---|
void |
addExtension(WSDLExtension ex)
Adds a new WSDLExtension
to this object. |
|
void |
addFault(WSDLBoundFaultImpl fault)
|
|
void |
addNotUnderstoodExtension(javax.xml.namespace.QName extnEl,
org.xml.sax.Locator locator)
This can be used if a WSDL extension element that has wsdl:required=true is not understood |
|
void |
addPart(WSDLPartImpl part,
javax.jws.WebParam.Mode mode)
|
|
boolean |
areRequiredExtensionsUnderstood()
This method should be called after freezing the WSDLModel |
|
WSDLBoundOperation.ANONYMOUS |
getAnonymous()
Gets the soapbinding:binding/operation/wsaw:Anonymous. |
|
WSDLBoundPortType |
getBoundPortType()
Gives the owner WSDLBoundPortType |
|
|
getExtension(java.lang.Class<T> type)
Gets the extension that is assignable to the given type. |
|
java.lang.Iterable<WSDLExtension> |
getExtensions()
Gets all the WSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension). |
|
|
getExtensions(java.lang.Class<T> type)
Gets all the extensions that is assignable to the given type. |
|
ParameterBinding |
getFaultBinding(java.lang.String part)
Gets ParameterBinding for a given wsdl part in wsdl:fault |
|
java.util.Map<java.lang.String,java.lang.String> |
getFaultMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:fault |
|
java.util.Map<java.lang.String,ParameterBinding> |
getFaultParts()
Map of wsdl:fault part name and the binding as ParameterBinding |
|
java.util.List<WSDLBoundFaultImpl> |
getFaults()
Gets all the WSDLFault bound to this operation. |
|
java.util.Map<java.lang.String,WSDLPart> |
getInParts()
Gets all inbound WSDLPart by its name. |
|
ParameterBinding |
getInputBinding(java.lang.String part)
Gets ParameterBinding for a given wsdl part in wsdl:input |
|
java.util.Map<java.lang.String,java.lang.String> |
getInputMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:output |
|
java.util.Map<java.lang.String,ParameterBinding> |
getInputParts()
Map of wsdl:input part name and the binding as ParameterBinding |
|
org.xml.sax.Locator |
getLocation()
Gets the source location information in the parsed WSDL. |
|
java.lang.String |
getMimeTypeForFaultPart(java.lang.String part)
Gets the MIME type for a given wsdl part in wsdl:fault |
|
java.lang.String |
getMimeTypeForInputPart(java.lang.String part)
Gets the MIME type for a given wsdl part in wsdl:input |
|
java.lang.String |
getMimeTypeForOutputPart(java.lang.String part)
Gets the MIME type for a given wsdl part in wsdl:output |
|
javax.xml.namespace.QName |
getName()
Short-cut for getOperation().getName() |
|
WSDLOperationImpl |
getOperation()
Gets the wsdl:portType/wsdl:operation model - WSDLOperation,
associated with this binding operation. |
|
java.util.Map<java.lang.String,WSDLPart> |
getOutParts()
Gets all outbound WSDLPart by its name. |
|
ParameterBinding |
getOutputBinding(java.lang.String part)
Gets ParameterBinding for a given wsdl part in wsdl:output |
|
java.util.Map<java.lang.String,java.lang.String> |
getOutputMimeTypes()
Map of mime:content@part and the mime type from mime:content@type for wsdl:output |
|
java.util.Map<java.lang.String,ParameterBinding> |
getOutputParts()
Map of wsdl:output part name and the binding as ParameterBinding |
|
WSDLPartImpl |
getPart(java.lang.String partName,
javax.jws.WebParam.Mode mode)
Gets WSDLPart for the given wsdl:input or wsdl:output part |
|
javax.xml.namespace.QName |
getReqPayloadName()
Gets the payload QName of the request message. |
|
java.lang.String |
getRequestNamespace()
For rpclit gives namespace value on soapbinding:body@namespace |
|
javax.xml.namespace.QName |
getResPayloadName()
Gets the payload QName of the response message. |
|
java.lang.String |
getResponseNamespace()
For rpclit gives namespace value on soapbinding:body@namespace |
|
java.lang.String |
getSOAPAction()
Gives soapbinding:operation@soapAction value. |
|
void |
setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
|
|
void |
setFaultExplicitBodyParts(boolean b)
|
|
void |
setInputExplicitBodyParts(boolean b)
|
|
void |
setOutputExplicitBodyParts(boolean b)
|
|
void |
setRequestNamespace(java.lang.String ns)
|
|
void |
setResponseNamespace(java.lang.String ns)
|
|
void |
setSoapAction(java.lang.String soapAction)
|
|
void |
setStyle(javax.jws.soap.SOAPBinding.Style 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, getExtension, getExtensions, getExtensions |
| Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
|---|
getLocation |
| Field Detail |
|---|
protected final java.util.Set<WSDLExtension> extensions
protected java.util.List<AbstractExtensibleImpl.UnknownWSDLExtension> notUnderstoodExtensions
| Constructor Detail |
|---|
public WSDLBoundOperationImpl(javax.xml.stream.XMLStreamReader xsr,
WSDLBoundPortTypeImpl owner,
javax.xml.namespace.QName name)
name - wsdl:operation name qualified value| Method Detail |
|---|
public javax.xml.namespace.QName getName()
WSDLBoundOperationgetOperation().getName()
getName in interface WSDLBoundOperationpublic java.lang.String getSOAPAction()
WSDLBoundOperation
getSOAPAction in interface WSDLBoundOperationpublic void setSoapAction(java.lang.String soapAction)
public WSDLPartImpl getPart(java.lang.String partName,
javax.jws.WebParam.Mode mode)
WSDLBoundOperationWSDLPart for the given wsdl:input or wsdl:output part
getPart in interface WSDLBoundOperation
public void addPart(WSDLPartImpl part,
javax.jws.WebParam.Mode mode)
public java.util.Map<java.lang.String,ParameterBinding> getInputParts()
ParameterBinding
public java.util.Map<java.lang.String,ParameterBinding> getOutputParts()
ParameterBinding
public java.util.Map<java.lang.String,ParameterBinding> getFaultParts()
ParameterBinding
public java.util.Map<java.lang.String,WSDLPart> getInParts()
WSDLBoundOperationWSDLPart by its name.
getInParts in interface WSDLBoundOperationpublic java.util.Map<java.lang.String,WSDLPart> getOutParts()
WSDLBoundOperationWSDLPart by its name.
getOutParts in interface WSDLBoundOperation@NotNull public java.util.List<WSDLBoundFaultImpl> getFaults()
WSDLBoundOperationWSDLFault bound to this operation.
getFaults in interface WSDLBoundOperation
public void addFault(@NotNull
WSDLBoundFaultImpl fault)
public java.util.Map<java.lang.String,java.lang.String> getInputMimeTypes()
public java.util.Map<java.lang.String,java.lang.String> getOutputMimeTypes()
public java.util.Map<java.lang.String,java.lang.String> getFaultMimeTypes()
public ParameterBinding getInputBinding(java.lang.String part)
ParameterBinding for a given wsdl part in wsdl:input
part - Name of wsdl:part, must be non-null
public ParameterBinding getOutputBinding(java.lang.String part)
ParameterBinding for a given wsdl part in wsdl:output
part - Name of wsdl:part, must be non-null
public ParameterBinding getFaultBinding(java.lang.String part)
ParameterBinding for a given wsdl part in wsdl:fault
part - Name of wsdl:part, must be non-null
public java.lang.String getMimeTypeForInputPart(java.lang.String part)
part - Name of wsdl:part, must be non-null
public java.lang.String getMimeTypeForOutputPart(java.lang.String part)
part - Name of wsdl:part, must be non-null
public java.lang.String getMimeTypeForFaultPart(java.lang.String part)
part - Name of wsdl:part, must be non-null
public WSDLOperationImpl getOperation()
WSDLBoundOperationWSDLOperation,
associated with this binding operation.
getOperation in interface WSDLBoundOperationWSDLOperationpublic WSDLBoundPortType getBoundPortType()
WSDLBoundOperationWSDLBoundPortType
getBoundPortType in interface WSDLBoundOperationpublic void setInputExplicitBodyParts(boolean b)
public void setOutputExplicitBodyParts(boolean b)
public void setFaultExplicitBodyParts(boolean b)
public void setStyle(javax.jws.soap.SOAPBinding.Style style)
@Nullable public javax.xml.namespace.QName getReqPayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getReqPayloadName in interface WSDLBoundOperation@Nullable public javax.xml.namespace.QName getResPayloadName()
WSDLBoundOperationIt's possible for an operation to define no body part, in which case this method returns null.
getResPayloadName in interface WSDLBoundOperationpublic java.lang.String getRequestNamespace()
getRequestNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setRequestNamespace(java.lang.String ns)
public java.lang.String getResponseNamespace()
getResponseNamespace in interface WSDLBoundOperationRuntimeModeler.processRpcMethod(JavaMethodImpl, String, String, Method)public void setResponseNamespace(java.lang.String ns)
public void setAnonymous(WSDLBoundOperation.ANONYMOUS anonymous)
public WSDLBoundOperation.ANONYMOUS getAnonymous()
WSDLBoundOperation
getAnonymous in interface WSDLBoundOperationpublic final java.lang.Iterable<WSDLExtension> getExtensions()
WSDLExtensibleWSDLExtensions
added through WSDLExtensible.addExtension(WSDLExtension).
getExtensions in interface WSDLExtensiblepublic final <T extends WSDLExtension> java.lang.Iterable<T> getExtensions(java.lang.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(java.lang.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 void addNotUnderstoodExtension(javax.xml.namespace.QName extnEl,
org.xml.sax.Locator locator)
extnEl - locator - public boolean areRequiredExtensionsUnderstood()
@NotNull public final org.xml.sax.Locator getLocation()
WSDLObject
getLocation in interface WSDLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||