javax.ws.rs.core
Class Link.JaxbAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Link.JaxbLink,Link>
      extended by javax.ws.rs.core.Link.JaxbAdapter
Enclosing class:
Link

public static class Link.JaxbAdapter
extends javax.xml.bind.annotation.adapters.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.

Since:
2.0
See Also:
Link.JaxbLink

Constructor Summary
Link.JaxbAdapter()
           
 
Method Summary
 Link.JaxbLink marshal(Link v)
           
 Link unmarshal(Link.JaxbLink v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link.JaxbAdapter

public Link.JaxbAdapter()
Method Detail

unmarshal

public Link unmarshal(Link.JaxbLink v)
               throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<Link.JaxbLink,Link>
Throws:
java.lang.Exception

marshal

public Link.JaxbLink marshal(Link v)
                      throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<Link.JaxbLink,Link>
Throws:
java.lang.Exception


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.