Class 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
    • Constructor Detail

      • WrapperParameter

        public WrapperParameter​(JavaMethodImpl parent,
                                TypeInfo typeRef,
                                jakarta.jws.WebParam.Mode mode,
                                int index)
    • Method Detail

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