org.apache.jackrabbit.core.query.lucene
Interface NamespaceMappings

All Superinterfaces:
NamespaceResolver
All Known Implementing Classes:
FileBasedNamespaceMappings, NSRegistryBasedNamespaceMappings

public interface NamespaceMappings
extends NamespaceResolver

The class NamespaceMappings holds a namespace mapping that is used internally in the search index. Storing paths with the full uri of a namespace would require too much space in the search index.


Method Summary
 String translatePropertyName(Name qName)
          Translates a property name from a session local namespace mapping into a search index private namespace mapping.
 
Methods inherited from interface org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver
getPrefix, getURI
 

Method Detail

translatePropertyName

String translatePropertyName(Name qName)
                             throws IllegalNameException
Translates a property name from a session local namespace mapping into a search index private namespace mapping.

Parameters:
qName - the property name to translate
Returns:
the translated JCR property name
Throws:
IllegalNameException


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