| java.lang.Object com.sun.xml.ws.model.ParameterImpl
All known Subclasses: com.sun.xml.ws.model.WrapperParameter,
ParameterImpl | public class ParameterImpl implements 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
WrapperParameter is used.
author: Vivek Pandey |
ParameterImpl | public ParameterImpl(JavaMethodImpl parent, TypeReference type, Mode mode, int index)(Code) | | |
createHolderValue | public Object createHolderValue(Object value)(Code) | | Creates a holder if applicable else gives the object as it is. To be
called on the inbound message.
Parameters: value - the non-holder value if its Response or IN otherwise creates aholder with the passed value and returns it back. |
fillTypes | void fillTypes(List<TypeReference> types)(Code) | | |
getBridge | public Bridge getBridge()(Code) | | |
getBridge | protected Bridge getBridge(TypeReference typeRef)(Code) | | |
getHolderValue | public 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 | public int getIndex()(Code) | | |
getMode | public Mode getMode()(Code) | | |
getTypeReference | public TypeReference getTypeReference()(Code) | | TODO: once the model gets JAXBContext, shouldn't
Bridge s
be made available from model objects?
Returns the TypeReference associated with this Parameter |
isIN | public boolean isIN()(Code) | | |
isINOUT | public boolean isINOUT()(Code) | | |
isOUT | public boolean isOUT()(Code) | | |
isResponse | public boolean isResponse()(Code) | | If true, this parameter maps to the return value of a method invocation.
JavaMethodImpl.getResponseParameters is guaranteed to have
at most one such
ParameterImpl . Note that there coule be none,
in which case the method returns void.
|
isReturnValue | public boolean isReturnValue()(Code) | | |
|
|