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:
org.apache.jackrabbit.spi.QValueFactory

public final class InternalValueFactory
extends org.apache.jackrabbit.spi.commons.value.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
 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(URI value)
           
protected  org.apache.jackrabbit.spi.QValue createReference(String ref, boolean weak)
           
protected  org.apache.jackrabbit.spi.QValue createString(String value)
           
static org.apache.jackrabbit.spi.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 org.apache.jackrabbit.spi.QValueFactory getInstance()

create

public org.apache.jackrabbit.spi.QValue create(Calendar value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(double value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(long value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(boolean value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
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
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
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
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(URI value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(BigDecimal value)
                                        throws RepositoryException
Specified by:
create in interface org.apache.jackrabbit.spi.QValueFactory
Overrides:
create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(byte[] value)
                                        throws RepositoryException
Throws:
RepositoryException

create

public org.apache.jackrabbit.spi.QValue create(InputStream value)
                                        throws RepositoryException,
                                               IOException
Throws:
RepositoryException
IOException

create

public org.apache.jackrabbit.spi.QValue create(File value)
                                        throws RepositoryException,
                                               IOException
Throws:
RepositoryException
IOException

createReference

protected org.apache.jackrabbit.spi.QValue createReference(String ref,
                                                           boolean weak)
Overrides:
createReference in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory

createString

protected org.apache.jackrabbit.spi.QValue createString(String value)
Overrides:
createString in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory


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