T
- list generac typepublic class RestCollectionAdapter<T extends PersistenceWeavedRest> extends XmlAdapter<CollectionWrapper<T>,Collection<T>>
CollectionWrapper
Constructor and Description |
---|
RestCollectionAdapter() |
RestCollectionAdapter(PersistenceContext context)
Instantiates a new RestCollectionAdapter.
|
Modifier and Type | Method and Description |
---|---|
CollectionWrapper<T> |
marshal(Collection<T> v) |
Collection<T> |
unmarshal(CollectionWrapper<T> v) |
public RestCollectionAdapter()
public RestCollectionAdapter(PersistenceContext context)
context
- persistent contextpublic Collection<T> unmarshal(CollectionWrapper<T> v) throws Exception
unmarshal
in class XmlAdapter<CollectionWrapper<T extends PersistenceWeavedRest>,Collection<T extends PersistenceWeavedRest>>
Exception
public CollectionWrapper<T> marshal(Collection<T> v) throws Exception
marshal
in class XmlAdapter<CollectionWrapper<T extends PersistenceWeavedRest>,Collection<T extends PersistenceWeavedRest>>
Exception
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference