org.apache.jackrabbit.spi.commons.logging
Class QValueFactoryLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.QValueFactoryLogger
- All Implemented Interfaces:
- QValueFactory
public class QValueFactoryLogger
- extends AbstractLogger
- implements QValueFactory
Log wrapper for a QValueFactory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QValueFactoryLogger
public QValueFactoryLogger(QValueFactory qValueFactory,
LogWriter writer)
- Create a new instance for the given
qValueFactory which uses
writer for persisting log messages.
- Parameters:
qValueFactory - writer -
getQValueFactory
public QValueFactory getQValueFactory()
- Returns:
- the wrapped QValueFactory
create
public QValue create(String value,
int type)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(Calendar value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(double value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(long value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(boolean value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(Name value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(Path value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(byte[] value)
throws RepositoryException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
create
public QValue create(InputStream value)
throws RepositoryException,
IOException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
IOException
create
public QValue create(File value)
throws RepositoryException,
IOException
- Specified by:
create in interface QValueFactory
- Throws:
RepositoryException
IOException
computeAutoValues
public QValue[] computeAutoValues(QPropertyDefinition propertyDefinition)
throws RepositoryException
- Specified by:
computeAutoValues in interface QValueFactory
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.