Class CanonicalValue


  • public class CanonicalValue
    extends java.lang.Object
    A canonical value, with processing applied to identify the uri, version, and fragment
    • Constructor Summary

      Constructors 
      Constructor Description
      CanonicalValue​(java.lang.String uri, java.lang.String version, java.lang.String fragment)  
    • Constructor Detail

      • CanonicalValue

        public CanonicalValue​(java.lang.String uri,
                              java.lang.String version,
                              java.lang.String fragment)
        Parameters:
        uri - The uri portion of the canonical value
        version - The version portion of the canonical value, can be null
        fragment - The fragment portion of the canonical value, can be null
    • Method Detail

      • getUri

        public java.lang.String getUri()
        Returns:
        the uri
      • getVersion

        public java.lang.String getVersion()
        Returns:
        the version
      • getFragment

        public java.lang.String getFragment()
        Returns:
        the fragment
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object