java.lang.Object
com.sun.xml.ws.model.ParameterImpl
com.sun.xml.ws.model.WrapperParameter
- All Implemented Interfaces:
Parameter
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
.
- Author:
- Vivek Pandey
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWrapperParameter
(JavaMethodImpl parent, TypeInfo typeRef, jakarta.jws.WebParam.Mode mode, int index) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addWrapperChild
(ParameterImpl wrapperChild) Adds a new child parameter.void
clear()
boolean
Deprecated.Why are you calling a method that always return true?Methods inherited from class com.sun.xml.ws.model.ParameterImpl
getBinding, getHolderValue, getInBinding, getIndex, getInlinedRepeatedElementBridge, getItemType, getMode, getName, getOutBinding, getOwner, getParent, getPartName, getTypeInfo, getTypeReference, getXMLBridge, isIN, isINOUT, isOUT, isResponse, isReturnValue, setBinding, setInBinding, setOutBinding, setPartName
-
Field Details
-
wrapperChildren
-
-
Constructor Details
-
WrapperParameter
public WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, jakarta.jws.WebParam.Mode mode, int index)
-
-
Method Details
-
isWrapperStyle
Deprecated.Why are you calling a method that always return true?- Specified by:
isWrapperStyle
in interfaceParameter
- Overrides:
isWrapperStyle
in classParameterImpl
- Returns:
- true if
this instanceof
WrapperParameter
.
-
getWrapperChildren
- Returns:
- Returns the wrapperChildren.
-
addWrapperChild
Adds a new child parameter. -
clear
public void clear()
-