com.sun.xml.ws.model
Class WrapperParameter

java.lang.Object
  extended by com.sun.xml.ws.model.ParameterImpl
      extended by 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 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.


Field Summary
protected  List<ParameterImpl> wrapperChildren
           
 
Constructor Summary
WrapperParameter(JavaMethodImpl parent, TypeReference typeRef, javax.jws.WebParam.Mode mode, int index)
           
 
Method Summary
 void addWrapperChild(ParameterImpl wrapperChild)
          Adds a new child parameter.
 void clear()
           
(package private)  void fillTypes(List<TypeReference> types)
           
 List<ParameterImpl> getWrapperChildren()
           
 boolean isWrapperStyle()
          Deprecated. Why are you calling a method that always return true?
 
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
 

Field Detail

wrapperChildren

protected final List<ParameterImpl> wrapperChildren
Constructor Detail

WrapperParameter

public WrapperParameter(JavaMethodImpl parent,
                        TypeReference 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:
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