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:
- org.apache.jackrabbit.spi.PathFactory
public class PathFactoryLogger
- extends AbstractLogger
- implements org.apache.jackrabbit.spi.PathFactory
Log wrapper for a PathFactory.
|
Constructor Summary |
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 |
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 |
create(String pathString)
|
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 |
createElement(String identifier)
|
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 -
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
createElement
public org.apache.jackrabbit.spi.Path.Element createElement(String identifier)
throws IllegalArgumentException
- Specified by:
createElement in interface org.apache.jackrabbit.spi.PathFactory
- Throws:
IllegalArgumentException
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
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.