Interface NamespaceEventListener
-
- All Known Implementing Classes:
NamespaceRegistryImpl
public interface NamespaceEventListener
Interface used to receive information about incoming, external namespace registry events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
externalRemap(String oldPrefix, String newPrefix, String uri)
Called when a namespace has been externally remapped.
-
-
-
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. ifnull
this is a fresh mappingnewPrefix
- new prefix. ifnull
this is an unmap operationuri
- uri to map prefix to- Throws:
RepositoryException
- if an error occurs
-
-