Interface NamespaceEventListener

  • All Known Implementing Classes:
    NamespaceRegistryImpl

    public interface NamespaceEventListener
    Interface used to receive information about incoming, external namespace registry events.
    • Method Detail

      • externalRemap

        void externalRemap​(String oldPrefix,
                           String newPrefix,
                           String uri)
                    throws RepositoryException
        Called when a namespace has been externally remapped.
        Parameters:
        oldPrefix - old prefix. if null this is a fresh mapping
        newPrefix - new prefix. if null this is an unmap operation
        uri - uri to map prefix to
        Throws:
        RepositoryException - if an error occurs