Class Link.JaxbLink

  • Enclosing class:
    Link


    public static class Link.JaxbLink
    extends java.lang.Object
    Value type for Link that 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
      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​()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​()
        Overrides:
        hashCode in class java.lang.Object