Package javax.ws.rs.core
Class Link.JaxbLink
- java.lang.Object
-
- javax.ws.rs.core.Link.JaxbLink
-
- Enclosing class:
- Link
public static class Link.JaxbLink extends java.lang.ObjectValue type forLinkthat can be marshalled and unmarshalled by JAXB.- Since:
- 2.0
- See Also:
Link.JaxbAdapter
-
-
Constructor Summary
Constructors Constructor Description JaxbLink()Default constructor needed during unmarshalling.JaxbLink(java.net.URI uri)Construct an instance from a URI and no parameters.JaxbLink(java.net.URI uri, java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)Construct an instance from a URI and some parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Map<javax.xml.namespace.QName,java.lang.Object>getParams()Get the parameter map for this link.java.net.URIgetUri()Get the underlying URI for this link.inthashCode()(package private) voidsetParams(java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)Set the parameter map for this link.(package private) voidsetUri(java.net.URI uri)Set the underlying URI for this link.
-
-
-
Constructor Detail
-
JaxbLink
public JaxbLink()
Default constructor needed during unmarshalling.
-
JaxbLink
public JaxbLink(java.net.URI uri)
Construct an instance from a URI and no parameters.- Parameters:
uri- underlying URI.
-
JaxbLink
public JaxbLink(java.net.URI uri, java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)Construct an instance from a URI and some parameters.- Parameters:
uri- underlying URI.params- parameters of this link.
-
-
Method Detail
-
getUri
public java.net.URI getUri()
Get the underlying URI for this link.- Returns:
- underlying URI.
-
getParams
public java.util.Map<javax.xml.namespace.QName,java.lang.Object> getParams()
Get the parameter map for this link.- Returns:
- parameter map.
-
setUri
void setUri(java.net.URI uri)
Set the underlying URI for this link. This setter is needed for JAXB unmarshalling.
-
setParams
void setParams(java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)
Set the parameter map for this link. This setter is needed for JAXB unmarshalling.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-