Class CachingPathResolver

  • All Implemented Interfaces:
    PathResolver

    public class CachingPathResolver
    extends java.lang.Object
    implements PathResolver
    Path resolver decorator that uses a generational cache to speed up parsing and formatting of JCR paths. Uncached paths are resolved using the underlying decorated path resolver.
    • Constructor Summary

      Constructors 
      Constructor Description
      CachingPathResolver​(PathResolver resolver)
      Creates a caching decorator for the given path resolver.
      CachingPathResolver​(PathResolver resolver, org.apache.jackrabbit.spi.commons.conversion.GenerationalCache cache)
      Creates a caching decorator for the given path resolver.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getJCRPath​(Path path)
      Returns the JCR path String for the given Path.
      Path getQPath​(java.lang.String path)
      Returns the Path object for the given JCR path String.
      Path getQPath​(java.lang.String path, boolean normalizeIdentifier)
      Returns the path object for the given JCR path string.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait