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 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.

Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • WrapperParameter

      public WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, javax.jws.WebParam.Mode mode, int index)
  • Method Details

    • 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()