org.apache.jackrabbit.jcr2spi
Interface NamespaceStorage

All Known Implementing Classes:
WorkspaceManager

public interface NamespaceStorage

NamespaceStorage...


Method Summary
 java.lang.String getPrefix(java.lang.String uri)
           
 java.util.Map<java.lang.String,java.lang.String> getRegisteredNamespaces()
           
 java.lang.String getURI(java.lang.String prefix)
           
 void registerNamespace(java.lang.String prefix, java.lang.String uri)
           
 void unregisterNamespace(java.lang.String uri)
           
 

Method Detail

getRegisteredNamespaces

java.util.Map<java.lang.String,java.lang.String> getRegisteredNamespaces()
                                                                         throws RepositoryException
Throws:
RepositoryException

getPrefix

java.lang.String getPrefix(java.lang.String uri)
                           throws NamespaceException,
                                  RepositoryException
Throws:
NamespaceException
RepositoryException

getURI

java.lang.String getURI(java.lang.String prefix)
                        throws NamespaceException,
                               RepositoryException
Throws:
NamespaceException
RepositoryException

registerNamespace

void registerNamespace(java.lang.String prefix,
                       java.lang.String uri)
                       throws NamespaceException,
                              UnsupportedRepositoryOperationException,
                              AccessDeniedException,
                              RepositoryException
Throws:
NamespaceException
UnsupportedRepositoryOperationException
AccessDeniedException
RepositoryException

unregisterNamespace

void unregisterNamespace(java.lang.String uri)
                         throws NamespaceException,
                                UnsupportedRepositoryOperationException,
                                AccessDeniedException,
                                RepositoryException
Throws:
NamespaceException
UnsupportedRepositoryOperationException
AccessDeniedException
RepositoryException


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