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