Package org.apache.jackrabbit.core.value
Class InternalValueFactory
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
-
- 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 aQValueFactory
that createsInternalValue
instances for binary values.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.spi.QValue
create(boolean value)
org.apache.jackrabbit.spi.QValue
create(byte[] value)
org.apache.jackrabbit.spi.QValue
create(double value)
org.apache.jackrabbit.spi.QValue
create(long value)
org.apache.jackrabbit.spi.QValue
create(File value)
org.apache.jackrabbit.spi.QValue
create(InputStream value)
org.apache.jackrabbit.spi.QValue
create(BigDecimal value)
org.apache.jackrabbit.spi.QValue
create(URI value)
org.apache.jackrabbit.spi.QValue
create(Calendar 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)
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()
-
-
-
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 interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(double value) throws RepositoryException
- Specified by:
create
in interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(long value) throws RepositoryException
- Specified by:
create
in interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(boolean value) throws RepositoryException
- Specified by:
create
in interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.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 interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.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 interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(URI value) throws RepositoryException
- Specified by:
create
in interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
- Throws:
RepositoryException
-
create
public org.apache.jackrabbit.spi.QValue create(BigDecimal value) throws RepositoryException
- Specified by:
create
in interfaceorg.apache.jackrabbit.spi.QValueFactory
- Overrides:
create
in classorg.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 classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
-
createString
protected org.apache.jackrabbit.spi.QValue createString(String value)
- Overrides:
createString
in classorg.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
-
-