Interface NamespaceService

    • Method Detail

      • getNamespaces

        Map<String,​String> getNamespaces()
        Fetch the entire namespace mapping.
        Returns:
        the namespace mapping as prefix, namespace pairs
      • setPrefix

        boolean setPrefix​(String prefix,
                          String namespace)
        Set the namespace for a given prefix.
        Parameters:
        prefix - the prefix
        namespace - the namespace
        Returns:
        whether the new prefix was set