Add doc & tests to Jaxb2XmlEncoder for collections
Issue: SPR-16363
This commit is contained in:
@@ -40,7 +40,11 @@ import org.springframework.util.MimeType;
|
||||
import org.springframework.util.MimeTypeUtils;
|
||||
|
||||
/**
|
||||
* Encode from {@code Object} stream to a byte stream containing XML elements.
|
||||
* Encode from single value to a byte stream containing XML elements.
|
||||
*
|
||||
* <p>{@link javax.xml.bind.annotation.XmlElements @XmlElements} and
|
||||
* {@link javax.xml.bind.annotation.XmlElement @XmlElement} can be used to specify how
|
||||
* collections should be marshalled.
|
||||
*
|
||||
* @author Sebastien Deleuze
|
||||
* @author Arjen Poutsma
|
||||
|
||||
Reference in New Issue
Block a user