org.apache.jackrabbit.name
Interface PathResolver

All Known Subinterfaces:
NamePathResolver
All Known Implementing Classes:
CachingPathResolver, ParsingPathResolver

Deprecated. Use the PathResolver interface from the org.apache.jackrabbit.spi.commons.conversion package of the jackrabbit-spi-commons component.

public interface PathResolver

Resolver for JCR paths.


Method Summary
 String getJCRPath(Path path)
          Deprecated. Returns the prefixed JCR path for the given qualified path.
 Path getQPath(String path)
          Deprecated. Returns the qualified path for the given prefixed JCR path.
 

Method Detail

getQPath

Path getQPath(String path)
              throws NameException,
                     NamespaceException
Deprecated. 
Returns the qualified path for the given prefixed JCR path.

Parameters:
path - prefixed JCR path
Returns:
qualified path
Throws:
NameException - if the JCR path format is invalid
NamespaceException - if a namespace prefix can not be resolved

getJCRPath

String getJCRPath(Path path)
                  throws NamespaceException
Deprecated. 
Returns the prefixed JCR path for the given qualified path.

Parameters:
path - qualified path
Returns:
prefixed JCR path
Throws:
NamespaceException - if a namespace URI can not be resolved


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