|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,java.lang.Object>
org.eclipse.persistence.jpa.rs.util.xmladapters.ReferenceAdapter<T>
public class ReferenceAdapter<T extends org.eclipse.persistence.internal.weaving.PersistenceWeavedRest>
| Constructor Summary | |
|---|---|
ReferenceAdapter()
Instantiates a new reference adapter. |
|
ReferenceAdapter(java.lang.String baseURI,
PersistenceContext context)
Instantiates a new reference adapter. |
|
| Method Summary | |
|---|---|
org.eclipse.persistence.internal.jpa.rs.metadata.model.Link |
marshal(java.lang.Object o)
Convert a bound type to a value type. |
T |
unmarshal(java.lang.Object object)
Convert a value type to a bound type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReferenceAdapter()
public ReferenceAdapter(java.lang.String baseURI,
PersistenceContext context)
baseURI - the base uricontext - the context| Method Detail |
|---|
public org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal(java.lang.Object o)
throws java.lang.Exception
XmlAdapter
marshal in class XmlAdapter<java.lang.Object,java.lang.Object>o - The value to be convereted. Can be null.
java.lang.Exception - if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler.
public T unmarshal(java.lang.Object object)
throws java.lang.Exception
XmlAdapter
unmarshal in class XmlAdapter<java.lang.Object,java.lang.Object>object - The value to be converted. Can be null.
java.lang.Exception - if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler.
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||