Class PathFactoryImpl

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

    public class PathFactoryImpl
    extends Object
    implements org.apache.jackrabbit.spi.PathFactory
    PathFactoryImpl...
    • Method Summary

      All Methods Static 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()  
      static org.apache.jackrabbit.spi.PathFactory getInstance()  
      org.apache.jackrabbit.spi.Path.Element getParentElement()  
      org.apache.jackrabbit.spi.Path.Element getRootElement()  
      org.apache.jackrabbit.spi.Path getRootPath()  
    • Method Detail

      • getInstance

        public static org.apache.jackrabbit.spi.PathFactory getInstance()
      • 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
        See Also:
        PathFactory.create(Path, Name, boolean)
      • create

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

        public org.apache.jackrabbit.spi.Path create​(org.apache.jackrabbit.spi.Name name,
                                                     int index)
                                              throws IllegalArgumentException
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
        Throws:
        IllegalArgumentException
        See Also:
        PathFactory.create(Name, int)
      • 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)
                                              throws IllegalArgumentException
        Specified by:
        create in interface org.apache.jackrabbit.spi.PathFactory
        Throws:
        IllegalArgumentException
        See Also:
        PathFactory.create(org.apache.jackrabbit.spi.Path.Element[])
      • createElement

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

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

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

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

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

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