com.fasterxml.jackson.dataformat.xml.annotation
Annotation Type JacksonXmlRootElement
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface JacksonXmlRootElement
Annotation that can be used to define name of root element used
for the root-level object when serialized, which normally uses
name of the type (class). It is similar to JAXB XmlRootElement
.
namespace
public abstract String namespace
- Default:
- ""
localName
public abstract String localName
- Default:
- ""
Copyright © 2012 FasterXML. All Rights Reserved.