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 ValueFactoryQImpl
ValueFactoryImpl
...
-
-
Constructor Summary
Constructors Constructor Description ValueFactoryImpl(NamePathResolver resolver, 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(QValue qvalue)
Create a newValue
based on an existingQValue
-
Methods inherited from class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, getQValueFactory
-
-
-
-
Constructor Detail
-
ValueFactoryImpl
public ValueFactoryImpl(NamePathResolver resolver, DataStore store)
Constructs a newValueFactoryQImpl
based on an existing SPIQValueFactory
and aNamePathResolver
.- Parameters:
resolver
- wrappedNamePathResolver
-
-
Method Detail
-
createValue
public Value createValue(QValue qvalue)
Description copied from class:ValueFactoryQImpl
Create a newValue
based on an existingQValue
- Overrides:
createValue
in classValueFactoryQImpl
- Parameters:
qvalue
- existingQValue
- Returns:
- a
Value
representing theQValue
-
createBinary
public Binary createBinary(InputStream stream) throws RepositoryException
- Specified by:
createBinary
in interfaceValueFactory
- Overrides:
createBinary
in classValueFactoryQImpl
- Throws:
RepositoryException
-
createValue
public Value createValue(Binary binary)
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classValueFactoryQImpl
-
createValue
public Value createValue(InputStream value)
Description copied from class:ValueFactoryQImpl
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classValueFactoryQImpl
-
createValue
public Value createValue(String value, int type) throws ValueFormatException
Description copied from class:ValueFactoryQImpl
- Specified by:
createValue
in interfaceValueFactory
- Overrides:
createValue
in classValueFactoryQImpl
- Throws:
ValueFormatException
-
-