| com.sun.xml.ws.api.model.Parameter
All known Subclasses: com.sun.xml.ws.model.ParameterImpl,
Parameter | public interface Parameter (Code) | | Runtime Parameter that abstracts the annotated java parameter
A parameter may be bound to a header, a body, or an attachment.
Note that when it's bound to a body, it's bound to a body,
it binds to the whole payload.
Sometimes multiple Java parameters are packed into the payload,
in which case the subclass
com.sun.xml.ws.model.WrapperParameter is used.
author: Vivek Pandey |
getBridge | Bridge getBridge()(Code) | | Gives the
Bridge associated with this Parameter
|
getHolderValue | Object getHolderValue(Object obj)(Code) | | Gets the holder value if applicable. To be called for inbound client side
message.
Parameters: obj - the holder value if applicable. |
getIndex | int getIndex()(Code) | | Position of a parameter in the method signature. It would be -1 if the parameter is a return.
Returns the index. |
getMode | Mode getMode()(Code) | | Returns the mode, such as IN, OUT or INOUT. |
getName | QName getName()(Code) | | Returns the QName of the payload/infoset of a SOAP body or header. |
getPartName | String getPartName()(Code) | | Gives the wsdl:part@name value
Value of WebParam.partName annotation if present,otherwise its the localname of the infoset associated with the parameter |
isIN | boolean isIN()(Code) | | true if the Mode associated with the parameter is Mode.IN and false otherwise. |
isINOUT | boolean isINOUT()(Code) | | true if the Mode associated with the parameter is Mode.INOUT and false otherwise. |
isOUT | boolean isOUT()(Code) | | true if the Mode associated with the parameter is Mode.OUT and false otherwise. |
isResponse | boolean isResponse()(Code) | | If true, this parameter maps to the return value of a method invocation.
JavaMethod.getResponseParameters is guaranteed to have
at most one such
Parameter . Note that there coule be none,
in which case the method returns void.
Other response parameters are bound to
Holder .
|
isReturnValue | boolean isReturnValue()(Code) | | Returns true if this parameter is bound to the return value from the
JavaMethod .
Just the convenience method for getIndex()==-1
|
|
|