Class IriToUri

    • Field Detail

      • allowedASCII

        public static boolean[] allowedASCII
    • Constructor Detail

      • IriToUri

        public IriToUri()
    • Method Detail

      • resultWhenEmpty

        public Sequence resultWhenEmpty()
        Description copied from class: ScalarSystemFunction
        Method that may be supplied in subclasses, to indicate the result that is returned when an empty sequence is supplied as the argument value. The default is to return the empty sequence
        Overrides:
        resultWhenEmpty in class ScalarSystemFunction
        Returns:
        the result of evaluation when the supplied argument is an empty sequence
      • iriToUri

        public static UnicodeString iriToUri​(UnicodeString s)
        Escape special characters in a URI. The characters that are %HH-encoded are all non-ASCII characters
        Parameters:
        s - the URI to be escaped
        Returns:
        the %HH-encoded string