Module eclipselink

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


  • public class ReferenceAdapter<T extends org.eclipse.persistence.internal.jpa.rs.weaving.PersistenceWeavedRest>
    extends jakarta.xml.bind.annotation.adapters.XmlAdapter<Object,​Object>
    • Constructor Detail

      • ReferenceAdapter

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

        public ReferenceAdapter​(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​(Object o)
                                                                            throws Exception
        Specified by:
        marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<Object,​Object>
        Throws:
        Exception
      • unmarshal

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