@Documented @Target(value={FIELD,TYPE}) @Retention(value=RUNTIME) public @interface XmlCombine
The default behavior is CombineSelf.MERGE for both self and children.
For instance the following code will instruct XmlCombiner to append the entries in the 'append' list:
public class Root {
. @XmlCombine(children = CombineChildren.APPEND)
. @XmlElementWrapper(name = "append")
. @XmlElementRef
List<Entry> append;
}
| Modifier and Type | Optional Element and Description |
|---|---|
CombineChildren |
children |
CombineSelf |
self |
public abstract CombineSelf self
public abstract CombineChildren children
Copyright © 2013 Atteo. All Rights Reserved.