org.apache.jackrabbit.core.value
Class InternalValueFactory

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

public final class InternalValueFactory
extends AbstractQValueFactory

InternalValueFactory implements a QValueFactory that creates InternalValue instances for binary values.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
DEFAULT_ENCODING, NAME_FACTORY, PATH_FACTORY
 
Method Summary
 QValue create(BigDecimal value)
           
 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(URI value)
           
protected  QValue createReference(String ref, boolean weak)
           
protected  QValue createString(String value)
           
static QValueFactory getInstance()
           
 
Methods inherited from class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
computeAutoValues, create
 
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(Calendar value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(double value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(long value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(boolean value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(Name value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(Path value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(URI value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(BigDecimal value)
              throws RepositoryException
Specified by:
create in interface QValueFactory
Overrides:
create in class AbstractQValueFactory
Throws:
RepositoryException

create

public QValue create(byte[] value)
              throws RepositoryException
Throws:
RepositoryException

create

public QValue create(InputStream value)
              throws RepositoryException,
                     IOException
Throws:
RepositoryException
IOException

create

public QValue create(File value)
              throws RepositoryException,
                     IOException
Throws:
RepositoryException
IOException

createReference

protected QValue createReference(String ref,
                                 boolean weak)
Overrides:
createReference in class AbstractQValueFactory

createString

protected QValue createString(String value)
Overrides:
createString in class AbstractQValueFactory


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