org.apache.jackrabbit.spi.commons.logging
Class PathFactoryLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.PathFactoryLogger
- All Implemented Interfaces:
- PathFactory
public class PathFactoryLogger
- extends AbstractLogger
- implements PathFactory
Log wrapper for a PathFactory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathFactoryLogger
public PathFactoryLogger(PathFactory pathFactory,
LogWriter writer)
- Create a new instance for the given
pathFactory which uses
writer for persisting log messages.
- Parameters:
pathFactory - writer -
getPathFactory
public PathFactory getPathFactory()
- Returns:
- the wrapped PathFactory
create
public Path create(Path parent,
Path relPath,
boolean normalize)
throws RepositoryException
- Specified by:
create in interface PathFactory
- Throws:
RepositoryException
create
public Path create(Path parent,
Name name,
boolean normalize)
throws RepositoryException
- Specified by:
create in interface PathFactory
- Throws:
RepositoryException
create
public Path create(Path parent,
Name name,
int index,
boolean normalize)
throws RepositoryException
- Specified by:
create in interface PathFactory
- Throws:
RepositoryException
create
public Path create(Name name)
- Specified by:
create in interface PathFactory
create
public Path create(Name name,
int index)
- Specified by:
create in interface PathFactory
create
public Path create(Path.Element[] elements)
- Specified by:
create in interface PathFactory
create
public Path create(String pathString)
- Specified by:
create in interface PathFactory
createElement
public Path.Element createElement(Name name)
- Specified by:
createElement in interface PathFactory
createElement
public Path.Element createElement(Name name,
int index)
- Specified by:
createElement in interface PathFactory
createElement
public Path.Element createElement(String identifier)
throws IllegalArgumentException
- Specified by:
createElement in interface PathFactory
- Throws:
IllegalArgumentException
getCurrentElement
public Path.Element getCurrentElement()
- Specified by:
getCurrentElement in interface PathFactory
getParentElement
public Path.Element getParentElement()
- Specified by:
getParentElement in interface PathFactory
getRootElement
public Path.Element getRootElement()
- Specified by:
getRootElement in interface PathFactory
getRootPath
public Path getRootPath()
- Specified by:
getRootPath in interface PathFactory
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.