com.sun.xml.ws.model
Class WrapperParameter
java.lang.Object
com.sun.xml.ws.model.ParameterImpl
com.sun.xml.ws.model.WrapperParameter
- All Implemented Interfaces:
- Parameter
public class WrapperParameter
- extends ParameterImpl
ParameterImpl
that represents a wrapper,
which is a parameter that consists of multiple nested ParameterImpl
s
within, which together form a body part.
Java method parameters represented by nested ParameterImpl
s will be
packed into a "wrapper bean" and it becomes the ParameterImpl
for the
body.
This parameter is only used for the ParameterBinding.BODY
binding.
Other parameters that bind to other parts (such as headers or unbound)
will show up directly under JavaMethod
.
Methods inherited from class com.sun.xml.ws.model.ParameterImpl |
createHolderValue, getBinding, getBridge, getBridge, getHolderValue, getInBinding, getIndex, getMode, getName, getOutBinding, getOwner, getParent, getPartName, getTypeReference, isIN, isINOUT, isOUT, isResponse, isReturnValue, setBinding, setHolderValue, setInBinding, setOutBinding, setPartName, setTypeReference |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapperChildren
protected final List<ParameterImpl> wrapperChildren
WrapperParameter
public WrapperParameter(JavaMethodImpl parent,
TypeReference typeRef,
javax.jws.WebParam.Mode mode,
int index)
isWrapperStyle
public boolean isWrapperStyle()
- Deprecated. Why are you calling a method that always return true?
- Specified by:
isWrapperStyle
in interface Parameter
- Overrides:
isWrapperStyle
in class ParameterImpl
- Returns:
- true if this instanceof
WrapperParameter
.
getWrapperChildren
public List<ParameterImpl> getWrapperChildren()
- Returns:
- Returns the wrapperChildren.
addWrapperChild
public void addWrapperChild(ParameterImpl wrapperChild)
- Adds a new child parameter.
- Parameters:
wrapperChild
-
clear
public void clear()
fillTypes
void fillTypes(List<TypeReference> types)
- Overrides:
fillTypes
in class ParameterImpl