public static class Link.JaxbLink
extends java.lang.Object
Link
that can be marshalled and
unmarshalled by JAXB.
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.Link.JaxbAdapter
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<javax.xml.namespace.QName,java.lang.Object> |
getParams()
Get the parameter map for this link.
|
java.net.URI |
getUri()
Get the underlying URI for this link.
|
int |
hashCode() |
public JaxbLink()
public JaxbLink(java.net.URI uri)
uri
- underlying URI.public JaxbLink(java.net.URI uri, java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)
uri
- underlying URI.params
- parameters of this link.public java.net.URI getUri()
public java.util.Map<javax.xml.namespace.QName,java.lang.Object> getParams()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object