Package org.jboss.resteasy.annotations.providers.jaxb

## Annotation Type Wrapped

-     @Target({PARAMETER,METHOD})
      @Retention(RUNTIME)
      public @interface Wrapped

  Put this on a method or parameter when you want to marshal or unmarshal a collection or array of JAXB objects

  i.e.

       @PUT
       @Consumes("application/xml") public void put(@Wrapped User[] users);

  User is a jaxb annotated class. The input should be:

  <resteasy:collection xmlns:resteasy="http://jboss.org/resteasy" xmlns:ns2="whatever"> <ns2:user>...</ns2:user> <ns2:user>...</ns2:user> </resteasy:collection>

  or @GET @Wrapped public User[] getUsers();

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `String` | `element` |
    `String` | `namespace` |
    `String` | `prefix` |

- - ### Element Detail

    - #### element

          String element

      Default:
        "collection"

  - - #### namespace

          String namespace

      Default:
        ""

  - - #### prefix

          String prefix

      Default:
        ""