javax.ws.rs.core
Class Link.JaxbAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Link.JaxbLink,Link>
javax.ws.rs.core.Link.JaxbAdapter
- Enclosing class:
- Link
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.
All link parameters are treated as multi valued except for "title" and "method".
- Since:
- 2.0
- Author:
- Santiago Pericas-Geertsen
- See Also:
Link.JaxbLink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Link.JaxbAdapter
public Link.JaxbAdapter()
unmarshal
public Link unmarshal(Link.JaxbLink v)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<Link.JaxbLink,Link>
- Throws:
Exception
marshal
public Link.JaxbLink marshal(Link v)
throws Exception
- Specified by:
marshal
in class XmlAdapter<Link.JaxbLink,Link>
- Throws:
Exception
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.