Annotation Type WrappedMap


@Target({PARAMETER,METHOD}) @Retention(RUNTIME) public @interface WrappedMap
Put this on a method or parameter when you want to marshal or unmarshal a map of JAXB objects

i.e.

 @PUT
 @Consumes("application/xml") public void put(@WrappedMap Map<String, User> users);
 
Version:
$Revision: 1 $
Author:
Bill Burke
  • Element Details

    • map

      String map
      map element name
      Default:
      "map"
    • entry

      String entry
      entry element name
      Returns:
      entry
      Default:
      "entry"
    • key

      String key
      entry's key attribute name
      Returns:
      key
      Default:
      "key"
    • namespace

      String namespace
      Default:
      ""
    • prefix

      String prefix
      Default:
      ""