Package 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
ParameterImplthat represents a wrapper, which is a parameter that consists of multiple nestedParameterImpls within, which together form a body part.Java method parameters represented by nested
ParameterImpls will be packed into a "wrapper bean" and it becomes theParameterImplfor the body.This parameter is only used for the
ParameterBinding.BODYbinding. Other parameters that bind to other parts (such as headers or unbound) will show up directly underJavaMethod.- Author:
- Vivek Pandey
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ParameterImpl>wrapperChildren
-
Constructor Summary
Constructors Constructor Description WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, javax.jws.WebParam.Mode mode, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddWrapperChild(ParameterImpl wrapperChild)Adds a new child parameter.voidclear()List<ParameterImpl>getWrapperChildren()booleanisWrapperStyle()Deprecated.Why are you calling a method that always return true?-
Methods inherited from class com.sun.xml.ws.model.ParameterImpl
getBinding, getBridge, getBridge, getHolderValue, getInBinding, getIndex, getInlinedRepeatedElementBridge, getItemType, getMode, getName, getOutBinding, getOwner, getParent, getPartName, getTypeInfo, getTypeReference, getXMLBridge, isIN, isINOUT, isOUT, isResponse, isReturnValue, setBinding, setInBinding, setOutBinding, setPartName
-
-
-
-
Field Detail
-
wrapperChildren
protected final List<ParameterImpl> wrapperChildren
-
-
Constructor Detail
-
WrapperParameter
public WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, javax.jws.WebParam.Mode mode, int index)
-
-
Method Detail
-
isWrapperStyle
public boolean isWrapperStyle()
Deprecated.Why are you calling a method that always return true?- Specified by:
isWrapperStylein interfaceParameter- Overrides:
isWrapperStylein classParameterImpl- Returns:
- true if
this instanceofWrapperParameter.
-
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()
-
-