org.apache.jackrabbit.spi.commons.value
Class QValueFactoryImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.value.QValueFactoryImpl
All Implemented Interfaces:
QValueFactory

public final class QValueFactoryImpl
extends Object
implements QValueFactory

QValueFactoryImpl...


Method Summary
 QValue[] computeAutoValues(QPropertyDefinition propertyDefinition)
           
 QValue create(boolean value)
           
 QValue create(byte[] value)
           
 QValue create(Calendar value)
           
 QValue create(double value)
           
 QValue create(File value)
           
 QValue create(InputStream value)
           
 QValue create(long value)
           
 QValue create(Name value)
           
 QValue create(Path value)
           
 QValue create(String value, int type)
           
static QValueFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static QValueFactory getInstance()

create

public QValue create(String value,
                     int type)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Throws:
RepositoryException
See Also:
QValueFactory.create(String, int)

create

public QValue create(Calendar value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(Calendar)

create

public QValue create(double value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(double)

create

public QValue create(long value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(long)

create

public QValue create(boolean value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(boolean)

create

public QValue create(Name value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(Name)

create

public QValue create(Path value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(Path)

create

public QValue create(byte[] value)
Specified by:
create in interface QValueFactory
See Also:
QValueFactory.create(byte[])

create

public QValue create(InputStream value)
              throws IOException
Specified by:
create in interface QValueFactory
Throws:
IOException
See Also:
QValueFactory.create(InputStream)

create

public QValue create(File value)
              throws IOException
Specified by:
create in interface QValueFactory
Throws:
IOException
See Also:
QValueFactory.create(File)

computeAutoValues

public QValue[] computeAutoValues(QPropertyDefinition propertyDefinition)
                           throws RepositoryException
Specified by:
computeAutoValues in interface QValueFactory
Throws:
RepositoryException
See Also:
QValueFactory.computeAutoValues(QPropertyDefinition)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.