org.apache.cxf.databinding

## Class AbstractWrapperHelper

- java.lang.Object
- - org.apache.cxf.databinding.AbstractWrapperHelper

- All Implemented Interfaces:
    WrapperHelper

      public abstract class AbstractWrapperHelper
      extends Object
      implements WrapperHelper

  This wrapper helper will use reflection to handle the wrapped message

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Field[]` | `fields`
    `protected Method[]` | `getMethods`
    `static Class<?>[]` | `NO_CLASSES`
    `static Object[]` | `NO_PARAMS`
    `protected Method[]` | `setMethods`
    `protected Class<?>` | `wrapperType`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractWrapperHelper(Class<?> wt, Method[] sets, Method[] gets, Field[] f)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Object` | `createWrapperObject(Class<?> typeClass)`
    `Object` | `createWrapperObject(List<?> lst)`
    `protected Object` | `getPartObject(int index, Object object)`
    `String` | `getSignature()`
    `protected Object` | `getValue(Method method, Object in)`
    `protected abstract Object` | `getWrapperObject(Object object)`
    `List<Object>` | `getWrapperParts(Object o)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### NO_CLASSES

          public static final Class<?>[] NO_CLASSES

    - #### NO_PARAMS

          public static final Object[] NO_PARAMS

    - #### wrapperType

          protected final Class<?> wrapperType

    - #### setMethods

          protected final Method[] setMethods

    - #### getMethods

          protected final Method[] getMethods

    - #### fields

          protected final Field[] fields

  - ### Constructor Detail

    - #### AbstractWrapperHelper

          protected AbstractWrapperHelper(Class<?> wt,
                               Method[] sets,
                               Method[] gets,
                               Field[] f)

  - ### Method Detail

    - #### getSignature

          public String getSignature()

      Specified by:
        `getSignature` in interface `WrapperHelper`

    - #### createWrapperObject

          protected abstract Object createWrapperObject(Class<?> typeClass)
                                                 throws Exception

      Throws:
        `Exception`

    - #### getWrapperObject

          protected abstract Object getWrapperObject(Object object)
                                              throws Exception

      Throws:
        `Exception`

    - #### getPartObject

          protected Object getPartObject(int index,
                             Object object)
                                  throws Exception

      Throws:
        `Exception`

    - #### getValue

          protected Object getValue(Method method,
                        Object in)
                             throws IllegalAccessException,
                                    InvocationTargetException

      Throws:
        `IllegalAccessException`
        `InvocationTargetException`

    - #### createWrapperObject

          public Object createWrapperObject(List<?> lst)
                                     throws Fault

      Specified by:
        `createWrapperObject` in interface `WrapperHelper`
      Throws:
        `Fault`

    - #### getWrapperParts

          public List<Object> getWrapperParts(Object o)
                                       throws Fault

      Specified by:
        `getWrapperParts` in interface `WrapperHelper`
      Throws:
        `Fault`

Apache CXF