|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameter
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 subclassWrapperParameter
is used.
Method Summary | |
---|---|
ParameterBinding |
getBinding()
Returns the binding associated with the parameter. |
com.sun.xml.bind.api.Bridge |
getBridge()
Deprecated. |
java.lang.Object |
getHolderValue(java.lang.Object obj)
Gets the holder value if applicable. |
ParameterBinding |
getInBinding()
Returns the ParameterBinding associated with the IN mode |
int |
getIndex()
Position of a parameter in the method signature. |
javax.jws.WebParam.Mode |
getMode()
|
javax.xml.namespace.QName |
getName()
|
ParameterBinding |
getOutBinding()
Returns the ParameterBinding associated with the OUT mode |
SEIModel |
getOwner()
Gets the root SEIModel that owns this model. |
JavaMethod |
getParent()
Gets the parent JavaMethod to which this parameter belongs. |
java.lang.String |
getPartName()
Gives the wsdl:part@name value |
boolean |
isIN()
|
boolean |
isINOUT()
|
boolean |
isOUT()
|
boolean |
isResponse()
If true, this parameter maps to the return value of a method invocation. |
boolean |
isReturnValue()
Returns true if this parameter is bound to the return value from the JavaMethod . |
boolean |
isWrapperStyle()
|
Method Detail |
---|
SEIModel getOwner()
SEIModel
that owns this model.
JavaMethod getParent()
JavaMethod
to which this parameter belongs.
javax.xml.namespace.QName getName()
QName
of the payload/infoset of a SOAP body or header.com.sun.xml.bind.api.Bridge getBridge()
Bridge
associated with this Parameter
javax.jws.WebParam.Mode getMode()
int getIndex()
boolean isWrapperStyle()
WrapperParameter
.boolean isReturnValue()
JavaMethod
.
Just the convenience method for getIndex()==-1
ParameterBinding getBinding()
getInBinding()
, for OUT parameter the binding will be same as
getOutBinding()
and for INOUT parameter the binding will be same as calling
getInBinding()
ParameterBinding.BODY
by default.ParameterBinding getInBinding()
ParameterBinding
associated with the IN mode
ParameterBinding getOutBinding()
ParameterBinding
associated with the OUT mode
boolean isIN()
WebParam.Mode
associated with the parameter is WebParam.Mode.IN
and false otherwise.boolean isOUT()
WebParam.Mode
associated with the parameter is WebParam.Mode.OUT
and false otherwise.boolean isINOUT()
WebParam.Mode
associated with the parameter is WebParam.Mode.INOUT
and false otherwise.boolean isResponse()
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
.
java.lang.Object getHolderValue(java.lang.Object obj)
obj
-
java.lang.String getPartName()
WebParam.partName()
annotation if present,
otherwise its the localname of the infoset associated with the parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |