Class PathFactoryLogger
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.logging.AbstractLogger
-
- org.apache.jackrabbit.spi.commons.logging.PathFactoryLogger
-
- All Implemented Interfaces:
org.apache.jackrabbit.spi.PathFactory
public class PathFactoryLogger extends AbstractLogger implements org.apache.jackrabbit.spi.PathFactory
Log wrapper for aPathFactory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
AbstractLogger.Callable, AbstractLogger.SafeCallable
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
writer
-
-
Constructor Summary
Constructors Constructor Description PathFactoryLogger(org.apache.jackrabbit.spi.PathFactory pathFactory, LogWriter writer)Create a new instance for the givenpathFactorywhich useswriterfor persisting log messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.spi.Pathcreate(String pathString)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Name name)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Name name, int index)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Path.Element element)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Path.Element[] elements)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Name name, boolean normalize)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Name name, int index, boolean normalize)org.apache.jackrabbit.spi.Pathcreate(org.apache.jackrabbit.spi.Path parent, org.apache.jackrabbit.spi.Path relPath, boolean normalize)org.apache.jackrabbit.spi.Path.ElementcreateElement(String identifier)org.apache.jackrabbit.spi.Path.ElementcreateElement(org.apache.jackrabbit.spi.Name name)org.apache.jackrabbit.spi.Path.ElementcreateElement(org.apache.jackrabbit.spi.Name name, int index)org.apache.jackrabbit.spi.Path.ElementgetCurrentElement()org.apache.jackrabbit.spi.Path.ElementgetParentElement()org.apache.jackrabbit.spi.PathFactorygetPathFactory()org.apache.jackrabbit.spi.Path.ElementgetRootElement()org.apache.jackrabbit.spi.PathgetRootPath()-
Methods inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
execute, execute
-
-
-
-
Constructor Detail
-
PathFactoryLogger
public PathFactoryLogger(org.apache.jackrabbit.spi.PathFactory pathFactory, LogWriter writer)Create a new instance for the givenpathFactorywhich useswriterfor 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:
createin interfaceorg.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:
createin interfaceorg.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:
createin interfaceorg.apache.jackrabbit.spi.PathFactory- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.Path create(org.apache.jackrabbit.spi.Name name)
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.PathFactory
-
create
public org.apache.jackrabbit.spi.Path create(org.apache.jackrabbit.spi.Name name, int index)- Specified by:
createin interfaceorg.apache.jackrabbit.spi.PathFactory
-
create
public org.apache.jackrabbit.spi.Path create(org.apache.jackrabbit.spi.Path.Element element)
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.PathFactory
-
create
public org.apache.jackrabbit.spi.Path create(org.apache.jackrabbit.spi.Path.Element[] elements)
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.PathFactory
-
create
public org.apache.jackrabbit.spi.Path create(String pathString)
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.PathFactory
-
createElement
public org.apache.jackrabbit.spi.Path.Element createElement(org.apache.jackrabbit.spi.Name name)
- Specified by:
createElementin interfaceorg.apache.jackrabbit.spi.PathFactory
-
createElement
public org.apache.jackrabbit.spi.Path.Element createElement(org.apache.jackrabbit.spi.Name name, int index)- Specified by:
createElementin interfaceorg.apache.jackrabbit.spi.PathFactory
-
createElement
public org.apache.jackrabbit.spi.Path.Element createElement(String identifier) throws IllegalArgumentException
- Specified by:
createElementin interfaceorg.apache.jackrabbit.spi.PathFactory- Throws:
IllegalArgumentException
-
getCurrentElement
public org.apache.jackrabbit.spi.Path.Element getCurrentElement()
- Specified by:
getCurrentElementin interfaceorg.apache.jackrabbit.spi.PathFactory
-
getParentElement
public org.apache.jackrabbit.spi.Path.Element getParentElement()
- Specified by:
getParentElementin interfaceorg.apache.jackrabbit.spi.PathFactory
-
getRootElement
public org.apache.jackrabbit.spi.Path.Element getRootElement()
- Specified by:
getRootElementin interfaceorg.apache.jackrabbit.spi.PathFactory
-
getRootPath
public org.apache.jackrabbit.spi.Path getRootPath()
- Specified by:
getRootPathin interfaceorg.apache.jackrabbit.spi.PathFactory
-
-