Package org.apache.jackrabbit.core.value
Class ValueFactoryImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
-
- org.apache.jackrabbit.core.value.ValueFactoryImpl
-
- All Implemented Interfaces:
ValueFactory
public class ValueFactoryImpl extends org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
ValueFactoryImpl
...
-
-
Constructor Summary
Constructors Constructor Description ValueFactoryImpl(org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver, org.apache.jackrabbit.core.data.DataStore store)
Constructs a newValueFactoryQImpl
based on an existing SPIQValueFactory
and aNamePathResolver
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Binary
createBinary(InputStream stream)
Value
createValue(InputStream value)
Value
createValue(String value, int type)
Value
createValue(Binary binary)
Value
createValue(org.apache.jackrabbit.spi.QValue qvalue)
-
-
-
Constructor Detail
-
ValueFactoryImpl
public ValueFactoryImpl(org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver, org.apache.jackrabbit.core.data.DataStore store)
Constructs a newValueFactoryQImpl
based on an existing SPIQValueFactory
and aNamePathResolver
.- Parameters:
resolver
- wrappedNamePathResolver
-
-
Method Detail
-
createValue
public Value createValue(org.apache.jackrabbit.spi.QValue qvalue)
- Overrides:
createValue
in classorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
-
createBinary
public Binary createBinary(InputStream stream) throws RepositoryException
- Specified by:
createBinary
in interfaceValueFactory
- Overrides:
createBinary
in classorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
- Throws:
RepositoryException
-
createValue
public Value createValue(Binary binary)
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
-
createValue
public Value createValue(InputStream value)
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
-
createValue
public Value createValue(String value, int type) throws ValueFormatException
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
- Throws:
ValueFormatException
-
-