Interface NamespaceMappings

    • Method Detail

      • translateName

        String translateName​(Name name)
                      throws IllegalNameException
        Translates a name from a session local namespace mapping into a search index private namespace mapping.
        Parameters:
        name - the name to translate
        Returns:
        the translated JCR name
        Throws:
        IllegalNameException - if the name cannot be translated.
      • translatePath

        String translatePath​(Path path)
                      throws IllegalNameException
        Translates a path into a search index private namespace mapping.
        Parameters:
        path - the path to translate
        Returns:
        the translated path.
        Throws:
        IllegalNameException - if the name cannot be translated.