Class PathFactoryLogger

  • All Implemented Interfaces:
    org.apache.jackrabbit.spi.PathFactory

    public class PathFactoryLogger
    extends AbstractLogger
    implements org.apache.jackrabbit.spi.PathFactory
    Log wrapper for a PathFactory.
    • Constructor Summary

      Constructors 
      Constructor Description
      PathFactoryLogger​(org.apache.jackrabbit.spi.PathFactory pathFactory, LogWriter writer)
      Create a new instance for the given pathFactory which uses writer for persisting log messages.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.jackrabbit.spi.Path create​(String pathString)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Name name)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Name name, int index)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path.Element element)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path.Element[] elements)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Name name, boolean normalize)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Name name, int index, boolean normalize)  
      org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Path relPath, boolean normalize)  
      org.apache.jackrabbit.spi.Path.Element createElement​(String identifier)  
      org.apache.jackrabbit.spi.Path.Element createElement​(org.apache.jackrabbit.spi.Name name)  
      org.apache.jackrabbit.spi.Path.Element createElement​(org.apache.jackrabbit.spi.Name name, int index)  
      org.apache.jackrabbit.spi.Path.Element getCurrentElement()  
      org.apache.jackrabbit.spi.Path.Element getParentElement()  
      org.apache.jackrabbit.spi.PathFactory getPathFactory()  
      org.apache.jackrabbit.spi.Path.Element getRootElement()  
      org.apache.jackrabbit.spi.Path getRootPath()  
    • Constructor Detail

      • PathFactoryLogger

        public PathFactoryLogger​(org.apache.jackrabbit.spi.PathFactory pathFactory,
                                 LogWriter writer)
        Create a new instance for the given pathFactory which uses writer for persisting log messages.
        Parameters:
        pathFactory -
        writer -
    • Method Detail

      • getPathFactory

        public org.apache.jackrabbit.spi.PathFactory getPathFactory()
        Returns:
        the wrapped PathFactory
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent,
                                                     org.apache.jackrabbit.spi.Path relPath,
                                                     boolean normalize)
                                              throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent,
                                                     org.apache.jackrabbit.spi.Name name,
                                                     boolean normalize)
                                              throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path parent,
                                                     org.apache.jackrabbit.spi.Name name,
                                                     int index,
                                                     boolean normalize)
                                              throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Name name)
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Name name,
                                                     int index)
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path.Element element)
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
      • create

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Path.Element[] elements)
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
      • create

        public org.apache.jackrabbit.spi.Path create​(String pathString)
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
      • createElement

        public org.apache.jackrabbit.spi.Path.Element createElement​(org.apache.jackrabbit.spi.Name name)
        Specified by:
        createElement in interface org.apache.jackrabbit.spi.PathFactory
      • createElement

        public org.apache.jackrabbit.spi.Path.Element createElement​(org.apache.jackrabbit.spi.Name name,
                                                                    int index)
        Specified by:
        createElement in interface org.apache.jackrabbit.spi.PathFactory
      • getCurrentElement

        public org.apache.jackrabbit.spi.Path.Element getCurrentElement()
        Specified by:
        getCurrentElement in interface org.apache.jackrabbit.spi.PathFactory
      • getParentElement

        public org.apache.jackrabbit.spi.Path.Element getParentElement()
        Specified by:
        getParentElement in interface org.apache.jackrabbit.spi.PathFactory
      • getRootElement

        public org.apache.jackrabbit.spi.Path.Element getRootElement()
        Specified by:
        getRootElement in interface org.apache.jackrabbit.spi.PathFactory
      • getRootPath

        public org.apache.jackrabbit.spi.Path getRootPath()
        Specified by:
        getRootPath in interface org.apache.jackrabbit.spi.PathFactory