public interface NamespaceMappings
extends org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver
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.| Modifier and Type | Method and Description |
|---|---|
String |
translateName(org.apache.jackrabbit.spi.Name name)
Translates a name from a session local namespace mapping into a search
index private namespace mapping.
|
String |
translatePath(org.apache.jackrabbit.spi.Path path)
Translates a path into a search index private namespace mapping.
|
String translateName(org.apache.jackrabbit.spi.Name name) throws org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
name - the name to translateorg.apache.jackrabbit.spi.commons.conversion.IllegalNameException - if the name cannot be translated.String translatePath(org.apache.jackrabbit.spi.Path path) throws org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
path - the path to translateorg.apache.jackrabbit.spi.commons.conversion.IllegalNameException - if the name cannot be translated.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.