Class ReferenceAdapter<T extends org.eclipse.persistence.internal.weaving.PersistenceWeavedRest>


  • public class ReferenceAdapter<T extends org.eclipse.persistence.internal.weaving.PersistenceWeavedRest>
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal​(java.lang.Object o)  
      T unmarshal​(java.lang.Object object)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReferenceAdapter

        public ReferenceAdapter()
        Instantiates a new reference adapter.
      • ReferenceAdapter

        public ReferenceAdapter​(java.lang.String baseURI,
                                PersistenceContext context)
        Instantiates a new reference adapter.
        Parameters:
        baseURI - the base uri
        context - the context
    • Method Detail

      • marshal

        public org.eclipse.persistence.internal.jpa.rs.metadata.model.Link marshal​(java.lang.Object o)
                                                                            throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
        Throws:
        java.lang.Exception
      • unmarshal

        public T unmarshal​(java.lang.Object object)
                    throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,​java.lang.Object>
        Throws:
        java.lang.Exception