com.fasterxml.jackson.dataformat.xml.annotation
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.


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 © 2012 FasterXML. All Rights Reserved.