Interface NamespaceListener
public interface NamespaceListener
Deprecated.
https://issues.apache.org/jira/browse/JCR-1700
Receives notifications when a namespace mapping changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnamespaceAdded(String prefix, String uri) Deprecated.Notifies the listeners that a new namespaceurihas been added and mapped toprefix.voidnamespaceRemapped(String oldPrefix, String newPrefix, String uri) Deprecated.Notifies the listeners that an existing namespaceurihas been re-mapped fromoldPrefixtonewPrefix.voidnamespaceRemoved(String uri) Deprecated.Notifies the listeners that the namespace with the given uri has been unregistered.
-
Method Details
-
namespaceRemapped
Deprecated.Notifies the listeners that an existing namespaceurihas been re-mapped fromoldPrefixtonewPrefix.- Parameters:
oldPrefix- the old prefix.newPrefix- the new prefix.uri- the associated namespace uri.
-
namespaceAdded
Deprecated.Notifies the listeners that a new namespaceurihas been added and mapped toprefix.- Parameters:
prefix- the prefix.uri- the namespace uri.
-
namespaceRemoved
Deprecated.Notifies the listeners that the namespace with the given uri has been unregistered.- Parameters:
uri- the namespace uri.
-