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.
translatePropertyName
String translatePropertyName(String name,
NamespaceResolver resolver)
throws IllegalNameException,
UnknownPrefixException
- Translates a property name from a session local namespace mapping into a
search index private namespace mapping.
- Parameters:
name
- the property name to translateresolver
- the NamespaceResolver
of the local session.
- Returns:
- the translated property name
- Throws:
IllegalNameException
UnknownPrefixException
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.