org.apache.jackrabbit.core.query.lucene
Class NSRegistryBasedNamespaceMappings

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.AbstractNamespaceMappings
      extended by org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings
All Implemented Interfaces:
NamespaceMappings, NamespaceResolver

public class NSRegistryBasedNamespaceMappings
extends AbstractNamespaceMappings

NSRegistryBasedNamespaceMappings implements a namespace mapping based on the stable index prefix provided by the namespace registry.


Method Summary
 String getPrefix(String uri)
          
 String getURI(String prefix)
          
 
Methods inherited from class org.apache.jackrabbit.core.query.lucene.AbstractNamespaceMappings
translateName, translatePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURI

public String getURI(String prefix)
              throws NamespaceException

Throws:
NamespaceException

getPrefix

public String getPrefix(String uri)
                 throws NamespaceException

Throws:
NamespaceException


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