com.fasterxml.jackson.dataformat.xml.annotation
Annotation Type JacksonXmlElementWrapper


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface JacksonXmlElementWrapper

Annotation that is similar to JAXB javax.xml.bind.annotation.XmlElementWrapper, to indicate wrapper element to use (if any) for Collection types (arrays, java.util.Collection). If defined, a separate container (wrapper) element is used; if not, entries are written without wrapping. Name of wrapper element defaults to name of the property but can be explicitly defined to something else.

Author:
tatu

Optional Element Summary
 String localName
           
 String namespace
           
 

namespace

public abstract String namespace
Default:
""

localName

public abstract String localName
Default:
""


Copyright © 2012 fasterxml.com. All Rights Reserved.