Uses of Interface
org.apache.jackrabbit.name.NamespaceResolver

Packages that use NamespaceResolver
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.journal   
org.apache.jackrabbit.core.nodetype   
org.apache.jackrabbit.core.nodetype.compact   
org.apache.jackrabbit.core.nodetype.xml   
org.apache.jackrabbit.core.query   
org.apache.jackrabbit.core.query.lucene   
org.apache.jackrabbit.core.query.sql   
org.apache.jackrabbit.core.query.xpath   
org.apache.jackrabbit.core.security   
org.apache.jackrabbit.core.value   
org.apache.jackrabbit.core.xml   
org.apache.jackrabbit.name   
org.apache.jackrabbit.util.name   
 

Uses of NamespaceResolver in org.apache.jackrabbit.core
 

Classes in org.apache.jackrabbit.core that implement NamespaceResolver
 class NamespaceRegistryImpl
          A NamespaceRegistryImpl ...
 

Methods in org.apache.jackrabbit.core that return NamespaceResolver
 NamespaceResolver SessionImpl.getNamespaceResolver()
          Returns the NamespaceResolver of this session.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.cluster
 

Methods in org.apache.jackrabbit.core.cluster that return NamespaceResolver
 NamespaceResolver ClusterContext.getNamespaceResovler()
          Return a namespace resolver to map prefixes to URIs and vice-versa
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.journal
 

Fields in org.apache.jackrabbit.core.journal declared as NamespaceResolver
protected  NamespaceResolver AbstractRecord.resolver
          Namespace resolver.
 

Methods in org.apache.jackrabbit.core.journal that return NamespaceResolver
 NamespaceResolver AbstractJournal.getResolver()
          Return this journal's namespace resolver.
 

Methods in org.apache.jackrabbit.core.journal with parameters of type NamespaceResolver
 void DatabaseJournal.init(String id, NamespaceResolver resolver)
          Initialize journal.
 void FileJournal.init(String id, NamespaceResolver resolver)
          Initialize journal.
 void AbstractJournal.init(String id, NamespaceResolver resolver)
          Initialize journal.
 void Journal.init(String id, NamespaceResolver resolver)
          Initialize journal.
 

Constructors in org.apache.jackrabbit.core.journal with parameters of type NamespaceResolver
AbstractRecord(NamespaceResolver resolver)
          Create a new instance of this class.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.nodetype
 

Methods in org.apache.jackrabbit.core.nodetype with parameters of type NamespaceResolver
static ValueConstraint ValueConstraint.create(int type, String definition, NamespaceResolver nsResolver)
           
 String ValueConstraint.getDefinition(NamespaceResolver nsResolver)
          For constraints that are not namespace prefix mapping sensitive this method returns the same result as ValueConstraint.getDefinition().
 

Constructors in org.apache.jackrabbit.core.nodetype with parameters of type NamespaceResolver
NodeTypeManagerImpl(NodeTypeRegistry ntReg, NamespaceRegistryImpl nsReg, NamespaceResolver nsResolver)
          Creates a new NodeTypeManagerImpl instance.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.nodetype.compact
 

Methods in org.apache.jackrabbit.core.nodetype.compact with parameters of type NamespaceResolver
static void CompactNodeTypeDefWriter.write(List l, NamespaceResolver r, Writer out)
          Writes the given list of NodeTypeDefs to the output writer including the used namespaces.
 

Constructors in org.apache.jackrabbit.core.nodetype.compact with parameters of type NamespaceResolver
CompactNodeTypeDefWriter(Writer out, NamespaceResolver r)
          Creates a new nodetype writer
CompactNodeTypeDefWriter(Writer out, NamespaceResolver r, boolean includeNS)
          Creates a new nodetype writer
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.nodetype.xml
 

Classes in org.apache.jackrabbit.core.nodetype.xml that implement NamespaceResolver
 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
 

Methods in org.apache.jackrabbit.core.query with parameters of type NamespaceResolver
 QueryRootNode QueryTreeBuilder.createQueryTree(String statement, NamespaceResolver resolver)
          Creates a QueryNode tree from a statement.
static QueryRootNode QueryParser.parse(String statement, String language, NamespaceResolver resolver)
          Parses a query statement according to a query language into a query tree.
 String QueryTreeBuilder.toString(QueryRootNode root, NamespaceResolver resolver)
          Creates a String representation of the query node tree in the syntax this QueryTreeBuilder can handle.
static String QueryParser.toString(QueryRootNode root, String language, NamespaceResolver resolver)
          Creates a String representation of the QueryNode tree argument root.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.query.lucene
 

Subinterfaces of NamespaceResolver in org.apache.jackrabbit.core.query.lucene
 interface NamespaceMappings
          The class NamespaceMappings holds a namespace mapping that is used internally in the search index.
 

Classes in org.apache.jackrabbit.core.query.lucene that implement NamespaceResolver
 class FileBasedNamespaceMappings
          The class NamespaceMappings implements a org.apache.jackrabbit.core.NamespaceResolver 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.
 

Fields in org.apache.jackrabbit.core.query.lucene declared as NamespaceResolver
protected  NamespaceResolver LazyQueryResultImpl.resolver
          The namespace resolver of the session executing the query
 

Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NamespaceResolver
 String FileBasedNamespaceMappings.translatePropertyName(String name, NamespaceResolver resolver)
          Translates a property name from a session local namespace mapping into a search index private namespace mapping.
 String NSRegistryBasedNamespaceMappings.translatePropertyName(String name, NamespaceResolver resolver)
          Translates a property name from a session local namespace mapping into a search index private namespace mapping.
 String NamespaceMappings.translatePropertyName(String name, NamespaceResolver resolver)
          Translates a property name from a session local namespace mapping into a search index private namespace mapping.
 

Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NamespaceResolver
LazyQueryResultImpl(SearchIndex index, ItemManager itemMgr, NamespaceResolver resolver, AccessManager accessMgr, QueryImpl queryImpl, org.apache.lucene.search.Query query, QName[] selectProps, QName[] orderProps, boolean[] orderSpecs, boolean documentOrder)
          Creates a new query result.
QueryResultImpl(ItemManager itemMgr, NodeId[] ids, Float[] scores, QName[] selectProps, NamespaceResolver resolver, boolean docOrder)
          Creates a new query result.
WorkspaceTraversalResult(Session session, QName[] properties, NamespaceResolver resolver)
          Creates a new WorkspaceTraversalResult.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.query.sql
 

Methods in org.apache.jackrabbit.core.query.sql with parameters of type NamespaceResolver
static QueryRootNode JCRSQLQueryBuilder.createQuery(String statement, NamespaceResolver resolver)
          Creates a QueryNode tree from a SQL statement.
 QueryRootNode QueryBuilder.createQueryTree(String statement, NamespaceResolver resolver)
           
static String JCRSQLQueryBuilder.toString(QueryRootNode root, NamespaceResolver resolver)
          Creates a String representation of the query node tree in SQL syntax.
 String QueryBuilder.toString(QueryRootNode root, NamespaceResolver resolver)
           
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.query.xpath
 

Methods in org.apache.jackrabbit.core.query.xpath with parameters of type NamespaceResolver
static QueryRootNode XPathQueryBuilder.createQuery(String statement, NamespaceResolver resolver)
          Creates a QueryNode tree from a XPath statement.
 QueryRootNode QueryBuilder.createQueryTree(String statement, NamespaceResolver resolver)
           
 String QueryBuilder.toString(QueryRootNode root, NamespaceResolver resolver)
           
static String XPathQueryBuilder.toString(QueryRootNode root, NamespaceResolver resolver)
          Creates a String representation of the query node tree in XPath syntax.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.security
 

Methods in org.apache.jackrabbit.core.security that return NamespaceResolver
 NamespaceResolver AMContext.getNamespaceResolver()
          Returns the namespace resolver
 

Constructors in org.apache.jackrabbit.core.security with parameters of type NamespaceResolver
AMContext(File physicalHomeDir, FileSystem fs, Subject subject, HierarchyManager hierMgr, NamespaceResolver nsResolver, String workspaceName)
          Creates a new AMContext.
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.value
 

Methods in org.apache.jackrabbit.core.value with parameters of type NamespaceResolver
static InternalValue InternalValue.create(Value value, NamespaceResolver nsResolver)
           
 Value InternalValue.toJCRValue(NamespaceResolver nsResolver)
           
 

Uses of NamespaceResolver in org.apache.jackrabbit.core.xml
 

Fields in org.apache.jackrabbit.core.xml declared as NamespaceResolver
protected  NamespaceResolver ImportHandler.nsResolver
           
 

Methods in org.apache.jackrabbit.core.xml with parameters of type NamespaceResolver
 void PropInfo.apply(NodeImpl node, NamespaceResolver resolver, ReferenceChangeTracker refTracker)
           
 Value TextValue.getValue(int type, NamespaceResolver resolver)
           
 

Constructors in org.apache.jackrabbit.core.xml with parameters of type NamespaceResolver
ImportHandler(Importer importer, NamespaceResolver nsResolver, NamespaceRegistryImpl nsReg)
           
 

Uses of NamespaceResolver in org.apache.jackrabbit.name
 

Classes in org.apache.jackrabbit.name that implement NamespaceResolver
 class AbstractNamespaceResolver
          Provides default implementations for the methods: AbstractNamespaceResolver.getQName(String) AbstractNamespaceResolver.getJCRName(QName) Subclasses may overwrite those methods with more efficient implementations e.g.
 class SessionNamespaceResolver
          helper class that exposes the NamespaceResolver interface on a Session
 

Methods in org.apache.jackrabbit.name with parameters of type NamespaceResolver
static Path Path.create(Path parent, String relJCRPath, NamespaceResolver resolver, boolean canonicalize)
          Deprecated. Use PathFormat.parse(Path, String, NamespaceResolver) instead.
static Path Path.create(String jcrPath, NamespaceResolver resolver, boolean normalize)
          Deprecated. Use PathFormat#parse(String, NamespaceResolver)} instead.
static String PathFormat.format(Path path, NamespaceResolver resolver)
          Returns a string representation of the qualified path in the JCR path format.
static String[] NameFormat.format(QName[] qNames, NamespaceResolver resolver)
          Same as NameFormat.format(QName, NamespaceResolver) except that this method takes an array of QNames and returns an array of corresponding string representations.
static String NameFormat.format(QName qName, NamespaceResolver resolver)
          Formats the given QName to produce a string representation, i.e.
static void NameFormat.format(QName qName, NamespaceResolver resolver, StringBuffer buffer)
          Same as NameFormat.format(QName, NamespaceResolver) except that this method appends the JCR-style name to the given buffer rather than returning it directly.
static QName QName.fromJCRName(String rawName, NamespaceResolver resolver)
          Deprecated. Use NameFormat.parse(String, NamespaceResolver) instead.
static Path PathFormat.parse(Path parent, String jcrPath, NamespaceResolver resolver)
          Parses the give jcrPath and returns a Path.
static QName[] NameFormat.parse(String[] jcrNames, NamespaceResolver resolver)
          Converts each JCR-style name in the passed array to its corresponding QName and returns the resulting QName array.
static Path PathFormat.parse(String jcrPath, NamespaceResolver resolver)
          Parses jcrPath into a qualified path using resolver to convert prefixes into namespace URI's.
static QName NameFormat.parse(String jcrName, NamespaceResolver resolver)
          Converts the jcrName to its corresponding QName.
 String Path.PathElement.toJCRName(NamespaceResolver resolver)
          Returns the JCR name representation of this path element.
 String Path.RootElement.toJCRName(NamespaceResolver resolver)
          Returns the JCR name representation of this path element.

Returns ""

 String Path.CurrentElement.toJCRName(NamespaceResolver resolver)
          Returns the JCR name representation of this path element.

Returns "."

 String Path.ParentElement.toJCRName(NamespaceResolver resolver)
          Returns the JCR name representation of this path element.

Returns ".."

 String QName.toJCRName(NamespaceResolver resolver)
          Deprecated. Use NameFormat.format(QName, NamespaceResolver) instead.
 void Path.PathElement.toJCRName(NamespaceResolver resolver, StringBuffer buf)
          Appends the JCR name representation of this path element to the given string buffer.
 void Path.RootElement.toJCRName(NamespaceResolver resolver, StringBuffer buf)
          Appends the JCR name representation of this path element to the given string buffer.
 void Path.CurrentElement.toJCRName(NamespaceResolver resolver, StringBuffer buf)
          Appends the JCR name representation of this path element to the given string buffer.
 void Path.ParentElement.toJCRName(NamespaceResolver resolver, StringBuffer buf)
          Appends the JCR name representation of this path element to the given string buffer.
 void QName.toJCRName(NamespaceResolver resolver, StringBuffer buf)
          Deprecated. Use NameFormat.format(QName, NamespaceResolver, StringBuffer) instead.
 String Path.toJCRPath(NamespaceResolver resolver)
          Deprecated. Use PathFormat.format(Path, NamespaceResolver) instead.
 

Constructors in org.apache.jackrabbit.name with parameters of type NamespaceResolver
ParsingNameResolver(NamespaceResolver resolver)
          Creates a parsing name resolver.
 

Uses of NamespaceResolver in org.apache.jackrabbit.util.name
 

Classes in org.apache.jackrabbit.util.name that implement NamespaceResolver
 class NamespaceMapping
          A Simple Namespace Mapping table.
 

Constructors in org.apache.jackrabbit.util.name with parameters of type NamespaceResolver
NamespaceMapping(NamespaceResolver base)
          Constructor
 



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