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

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<Object,Object>
org.eclipse.persistence.jpa.rs.util.xmladapters.ReferenceAdapter<T>

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

    • 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 Details

    • 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