Class Link.JaxbAdapter

  • Enclosing class:

    public static class Link.JaxbAdapter
    extends XmlAdapter<Link.JaxbLink,​Link>
    An implementation of JAXB XmlAdapter that maps the JAX-RS Link type to a value that can be marshalled and unmarshalled by JAXB. The following example shows how to use this adapter on a JAXB bean class:
     public class MyModel {
       private Link link;
       public Link getLink() {
         return link;
    Note that usage of this class requires the Jakarta XML Binding API and an implementation. The Jakarta RESTful Web Services implementation is not required to provide these dependencies.
    See Also: