Class SpringDataJaxb
java.lang.Object
org.springframework.data.domain.jaxb.SpringDataJaxb
Helper class containing utility methods to implement JAXB 
XmlAdapters as well as the DTO types to be
 marshalled by JAXB.- Author:
- Oliver Gierke
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThe DTO forSort.Order.static classThe DTO forPage.static classThe DTO forPageables/PageRequests.static classThe DTO forSort.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T,S> List<S> Marshals each of the elements of the givenIterableusing the givenXmlAdapter.static <T,S> List<T> unmarshal(Collection<S> source, jakarta.xml.bind.annotation.adapters.XmlAdapter<S, T> adapter) Unmarshals each element of the givenCollectionusing the givenXmlAdapter.
- 
Field Details- 
NAMESPACE- See Also:
 
 
- 
- 
Method Details- 
unmarshalpublic static <T,S> List<T> unmarshal(Collection<S> source, jakarta.xml.bind.annotation.adapters.XmlAdapter<S, T> adapter) Unmarshals each element of the givenCollectionusing the givenXmlAdapter.- Parameters:
- source-
- adapter- must not be null.
- Returns:
 
- 
marshalpublic static <T,S> List<S> marshal(@Nullable Iterable<T> source, jakarta.xml.bind.annotation.adapters.XmlAdapter<S, T> adapter) Marshals each of the elements of the givenIterableusing the givenXmlAdapter.- Parameters:
- source-
- adapter- must not be null.
- Returns:
 
 
-