Class CanonicalValue


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

      • CanonicalValue

        public CanonicalValue​(String uri,
                              String version,
                              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 String getUri()
        Returns:
        the uri
      • getVersion

        public String getVersion()
        Returns:
        the version
      • getFragment

        public String getFragment()
        Returns:
        the fragment
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object