Uses of Interface
org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver
-
Packages that use NamespaceResolver Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.core.cluster org.apache.jackrabbit.core.config org.apache.jackrabbit.core.journal org.apache.jackrabbit.core.nodetype.xml org.apache.jackrabbit.core.query.lucene org.apache.jackrabbit.jcr2spi org.apache.jackrabbit.jcr2spi.xml org.apache.jackrabbit.spi.commons.conversion org.apache.jackrabbit.spi.commons.namespace org.apache.jackrabbit.spi.commons.nodetype.compact -
-
Uses of NamespaceResolver in org.apache.jackrabbit.core
Classes in org.apache.jackrabbit.core that implement NamespaceResolver Modifier and Type Class Description class
SessionImpl
ASessionImpl
...class
XASessionImpl
Session extension that provides XA support. -
Uses of NamespaceResolver in org.apache.jackrabbit.core.cluster
Methods in org.apache.jackrabbit.core.cluster that return NamespaceResolver Modifier and Type Method Description NamespaceResolver
ClusterContext. getNamespaceResolver()
Return a namespace resolver to map prefixes to URIs and vice-versa -
Uses of NamespaceResolver in org.apache.jackrabbit.core.config
Methods in org.apache.jackrabbit.core.config with parameters of type NamespaceResolver Modifier and Type Method Description Journal
ClusterConfig. getJournal(NamespaceResolver resolver)
Returns an initialized journal instance. -
Uses of NamespaceResolver in org.apache.jackrabbit.core.journal
Fields in org.apache.jackrabbit.core.journal declared as NamespaceResolver Modifier and Type Field Description protected NamespaceResolver
AbstractRecord. nsResolver
Namespace resolver.Methods in org.apache.jackrabbit.core.journal that return NamespaceResolver Modifier and Type Method Description NamespaceResolver
AbstractJournal. getResolver()
Return this journal's namespace resolver.Methods in org.apache.jackrabbit.core.journal with parameters of type NamespaceResolver Modifier and Type Method Description Journal
JournalFactory. getJournal(NamespaceResolver resolver)
Creates, initializes, and returns aJournal
instance for use by the repository.void
AbstractJournal. init(String id, NamespaceResolver resolver)
Initialize journal.void
DatabaseJournal. init(String id, NamespaceResolver resolver)
Initialize journal.void
FileJournal. init(String id, NamespaceResolver resolver)
Initialize journal.void
Journal. init(String id, NamespaceResolver resolver)
Initialize journal.void
MemoryJournal. init(String id, NamespaceResolver resolver)
Initialize journal.ReadRecord
FileRecordLog. read(NamespaceResolver resolver, NamePathResolver npResolver)
Read the file record at the current seek position.Constructors in org.apache.jackrabbit.core.journal with parameters of type NamespaceResolver Constructor Description AbstractRecord(NamespaceResolver nsResolver, NamePathResolver resolver)
Create a new instance of this class.FileRecordIterator(File[] logFiles, long startRevision, long stopRevision, NamespaceResolver resolver, NamePathResolver npResolver)
Creates a new instance of this class.ReadRecord(String journalId, String producerId, long revision, DataInputStream dataIn, int length, NamespaceResolver resolver, NamePathResolver npResolver)
Create a new instance of this class. -
Uses of NamespaceResolver in org.apache.jackrabbit.core.nodetype.xml
Classes in org.apache.jackrabbit.core.nodetype.xml that implement NamespaceResolver Modifier and Type Class Description class
AdditionalNamespaceResolver
A simple namespace resolver implementation, that uses the additional namespaces declared in an XML element. -
Uses of NamespaceResolver in org.apache.jackrabbit.core.query.lucene
Subinterfaces of NamespaceResolver in org.apache.jackrabbit.core.query.lucene Modifier and Type Interface Description interface
NamespaceMappings
The classNamespaceMappings
holds a namespace mapping that is used internally in the search index.Classes in org.apache.jackrabbit.core.query.lucene that implement NamespaceResolver Modifier and Type Class Description class
AbstractNamespaceMappings
AbstractNamespaceMappings
is the base class for index internal namespace mappings.class
FileBasedNamespaceMappings
The classNamespaceMappings
implements aNamespaceResolver
that holds a namespace mapping that is used internally in the search index.class
NSRegistryBasedNamespaceMappings
NSRegistryBasedNamespaceMappings
implements a namespace mapping based on the stable index prefix provided by the namespace registry.Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NamespaceResolver Constructor Description WildcardNameQuery(String pattern, int transform, NamespaceResolver resolver, NamespaceMappings nsMappings, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
-
Uses of NamespaceResolver in org.apache.jackrabbit.jcr2spi
Classes in org.apache.jackrabbit.jcr2spi that implement NamespaceResolver Modifier and Type Class Description class
SessionImpl
SessionImpl
...class
XASessionImpl
XASessionImpl
extends the regular session implementation with access to theXAResource
.Methods in org.apache.jackrabbit.jcr2spi that return NamespaceResolver Modifier and Type Method Description NamespaceResolver
ManagerProvider. getNamespaceResolver()
NamespaceResolver
SessionImpl. getNamespaceResolver()
NamespaceResolver
WorkspaceImpl. getNamespaceResolver()
-
Uses of NamespaceResolver in org.apache.jackrabbit.jcr2spi.xml
Constructors in org.apache.jackrabbit.jcr2spi.xml with parameters of type NamespaceResolver Constructor Description ImportHandler(Importer importer, NamespaceResolver nsResolver, NamespaceRegistry nsReg, NameFactory nameFactory, PathFactory pathFactory)
-
Uses of NamespaceResolver in org.apache.jackrabbit.spi.commons.conversion
Methods in org.apache.jackrabbit.spi.commons.conversion with parameters of type NamespaceResolver Modifier and Type Method Description static Name[]
NameParser. parse(String[] jcrNames, NamespaceResolver resolver, NameFactory factory)
Parses an array ofjcrName
and returns the respective array ofName
.static Name
NameParser. parse(String jcrName, NamespaceResolver resolver, NameFactory factory)
Parses thejcrName
(either qualified or expanded) and returns a newName
.Constructors in org.apache.jackrabbit.spi.commons.conversion with parameters of type NamespaceResolver Constructor Description DefaultNamePathResolver(NamespaceResolver nsResolver)
DefaultNamePathResolver(NamespaceResolver nsResolver, boolean enableCaching)
DefaultNamePathResolver(NamespaceResolver nsResolver, IdentifierResolver idResolver, boolean enableCaching)
ParsingNameResolver(NameFactory nameFactory, NamespaceResolver resolver)
Creates a parsing name resolver. -
Uses of NamespaceResolver in org.apache.jackrabbit.spi.commons.namespace
Classes in org.apache.jackrabbit.spi.commons.namespace that implement NamespaceResolver Modifier and Type Class Description class
AbstractNamespaceResolver
Deprecated.https://issues.apache.org/jira/browse/JCR-1700class
NamespaceMapping
A Simple Namespace Mapping table.class
RegistryNamespaceResolver
Namespace resolver based on the repository-wide namespace mappings stored in a namespace registry.class
SessionNamespaceResolver
helper class that exposes theNamespaceResolver
interface on aSession
.Constructors in org.apache.jackrabbit.spi.commons.namespace with parameters of type NamespaceResolver Constructor Description NamespaceMapping(NamespaceResolver base)
Constructor -
Uses of NamespaceResolver in org.apache.jackrabbit.spi.commons.nodetype.compact
Methods in org.apache.jackrabbit.spi.commons.nodetype.compact with parameters of type NamespaceResolver Modifier and Type Method Description static void
CompactNodeTypeDefWriter. write(Collection<? extends QNodeTypeDefinition> defs, NamespaceResolver r, NamePathResolver npResolver, Writer out)
Writes the given list of QNodeTypeDefinition to the output writer including the used namespaces.Constructors in org.apache.jackrabbit.spi.commons.nodetype.compact with parameters of type NamespaceResolver Constructor Description CompactNodeTypeDefWriter(Writer out, NamespaceResolver r, boolean includeNS)
Creates a new nodetype writer based on a namespace resolverCompactNodeTypeDefWriter(Writer out, NamespaceResolver r, NamePathResolver npResolver)
Creates a new nodetype writer that does not include namespaces.CompactNodeTypeDefWriter(Writer out, NamespaceResolver r, NamePathResolver npResolver, boolean includeNS)
Creates a new nodetype writer
-