Class ListOfListAdapter<T>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ListOfListAdapter.ListOfListWrapper<T>,List<List<T>>>
org.openehealth.ipf.commons.ihe.xds.core.requests.query.ListOfListAdapter<T>
- Type Parameters:
T
- The type of object contained in the inner list
public class ListOfListAdapter<T>
extends javax.xml.bind.annotation.adapters.XmlAdapter<ListOfListAdapter.ListOfListWrapper<T>,List<List<T>>>
A JAXB
XmlAdapter
that helps serialize generic lists of lists. This sort of thing is used by the
IPF QueryList
class but is not handled naturally by JAXB. It takes a little effort here to get a
reasonable serialization.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ListOfListAdapter
public ListOfListAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<ListOfListAdapter.ListOfListWrapper<T>,
List<List<T>>>
-
marshal
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<ListOfListAdapter.ListOfListWrapper<T>,
List<List<T>>>
-