org.apache.jackrabbit.spi.commons.namespace
Interface NamespaceListener


Deprecated. https://issues.apache.org/jira/browse/JCR-1700

public interface NamespaceListener

Receives notifications when a namespace mapping changes.


Method Summary
 void namespaceAdded(String prefix, String uri)
          Deprecated. Notifies the listeners that a new namespace uri has been added and mapped to prefix.
 void namespaceRemapped(String oldPrefix, String newPrefix, String uri)
          Deprecated. Notifies the listeners that an existing namespace uri has been re-mapped from oldPrefix to newPrefix.
 void namespaceRemoved(String uri)
          Deprecated. Notifies the listeners that the namespace with the given uri has been unregistered.
 

Method Detail

namespaceRemapped

void namespaceRemapped(String oldPrefix,
                       String newPrefix,
                       String uri)
Deprecated. 
Notifies the listeners that an existing namespace uri has been re-mapped from oldPrefix to newPrefix.

Parameters:
oldPrefix - the old prefix.
newPrefix - the new prefix.
uri - the associated namespace uri.

namespaceAdded

void namespaceAdded(String prefix,
                    String uri)
Deprecated. 
Notifies the listeners that a new namespace uri has been added and mapped to prefix.

Parameters:
prefix - the prefix.
uri - the namespace uri.

namespaceRemoved

void namespaceRemoved(String uri)
Deprecated. 
Notifies the listeners that the namespace with the given uri has been unregistered.

Parameters:
uri - the namespace uri.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.