public class WrapperParameter extends ParameterImpl
ParameterImpl that represents a wrapper,
which is a parameter that consists of multiple nested ParameterImpls
within, which together form a body part.
Java method parameters represented by nested ParameterImpls 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.
| Modifier and Type | Field and Description |
|---|---|
protected List<ParameterImpl> |
wrapperChildren |
itemTypeInfo, wrapper| Constructor and Description |
|---|
WrapperParameter(JavaMethodImpl parent,
TypeInfo typeRef,
javax.jws.WebParam.Mode mode,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWrapperChild(ParameterImpl wrapperChild)
Adds a new child parameter.
|
void |
clear() |
(package private) void |
fillTypes(List<TypeInfo> types) |
List<ParameterImpl> |
getWrapperChildren() |
boolean |
isWrapperStyle()
Deprecated.
Why are you calling a method that always return true?
|
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, setTypeReferenceprotected final List<ParameterImpl> wrapperChildren
public WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, javax.jws.WebParam.Mode mode, int index)
public boolean isWrapperStyle()
isWrapperStyle in interface ParameterisWrapperStyle in class ParameterImplWrapperParameter.public List<ParameterImpl> getWrapperChildren()
public void addWrapperChild(ParameterImpl wrapperChild)
wrapperChild - public void clear()
void fillTypes(List<TypeInfo> types)
fillTypes in class ParameterImplCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.