Interface NamespaceListener
-
public interface NamespaceListener
Deprecated.https://issues.apache.org/jira/browse/JCR-1700Receives notifications when a namespace mapping changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
namespaceAdded(java.lang.String prefix, java.lang.String uri)
Deprecated.Notifies the listeners that a new namespaceuri
has been added and mapped toprefix
.void
namespaceRemapped(java.lang.String oldPrefix, java.lang.String newPrefix, java.lang.String uri)
Deprecated.Notifies the listeners that an existing namespaceuri
has been re-mapped fromoldPrefix
tonewPrefix
.void
namespaceRemoved(java.lang.String uri)
Deprecated.Notifies the listeners that the namespace with the given uri has been unregistered.
-
-
-
Method Detail
-
namespaceRemapped
void namespaceRemapped(java.lang.String oldPrefix, java.lang.String newPrefix, java.lang.String uri)
Deprecated.Notifies the listeners that an existing namespaceuri
has been re-mapped fromoldPrefix
tonewPrefix
.- Parameters:
oldPrefix
- the old prefix.newPrefix
- the new prefix.uri
- the associated namespace uri.
-
namespaceAdded
void namespaceAdded(java.lang.String prefix, java.lang.String uri)
Deprecated.Notifies the listeners that a new namespaceuri
has been added and mapped toprefix
.- Parameters:
prefix
- the prefix.uri
- the namespace uri.
-
namespaceRemoved
void namespaceRemoved(java.lang.String uri)
Deprecated.Notifies the listeners that the namespace with the given uri has been unregistered.- Parameters:
uri
- the namespace uri.
-
-