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