Interface NamespaceMapper


  • @Deprecated
    public interface NamespaceMapper
    Deprecated.
    Per session namespace mapping is not supported anymore.
    This interface is used to customize the namespace mapping of a session.
    Since:
    2.1
    • Method Detail

      • defineNamespacePrefixes

        void defineNamespacePrefixes​(Session session)
                              throws RepositoryException
        Deprecated.
        This method is invoked whenever a new session is created. It allows the service to add own namespace prefixes.
        Parameters:
        session - The new session
        Throws:
        RepositoryException - If anything goes wrong