org.apache.jackrabbit.jcr2spi
Interface NamespaceStorage

All Known Implementing Classes:
WorkspaceManager

public interface NamespaceStorage

NamespaceStorage...


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

Method Detail

getRegisteredNamespaces

Map<String,String> getRegisteredNamespaces()
                                           throws RepositoryException
Throws:
RepositoryException

getPrefix

String getPrefix(String uri)
                 throws NamespaceException,
                        RepositoryException
Throws:
NamespaceException
RepositoryException

getURI

String getURI(String prefix)
              throws NamespaceException,
                     RepositoryException
Throws:
NamespaceException
RepositoryException

registerNamespace

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

unregisterNamespace

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


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