com.fasterxml.jackson.xml.annotate
Annotation Type JacksonXmlProperty


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

Annotation that can be used to provide XML-specific configuration for properties, above and beyond what JsonProperty contains. It is an alternative to using JAXB annotations.

Since:
1.7

Optional Element Summary
 boolean isAttribute
           
 String localName
           
 String namespace
           
 

isAttribute

public abstract boolean isAttribute
Default:
false

namespace

public abstract String namespace
Default:
""

localName

public abstract String localName
Default:
""


Copyright © 2011 fasterxml.com. All Rights Reserved.