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
...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueFactoryImpl
public ValueFactoryImpl(NamePathResolver resolver,
DataStore store)
- Constructs a new
ValueFactoryQImpl
based
on an existing SPI QValueFactory
and a
NamePathResolver
.
- Parameters:
resolver
- wrapped NamePathResolver
createValue
public Value createValue(QValue qvalue)
- Description copied from class:
ValueFactoryQImpl
- Create a new
Value
based on an existing
QValue
- Overrides:
createValue
in class ValueFactoryQImpl
- Parameters:
qvalue
- existing QValue
- Returns:
- a
Value
representing the QValue
createBinary
public Binary createBinary(InputStream stream)
throws RepositoryException
- Specified by:
createBinary
in interface ValueFactory
- Overrides:
createBinary
in class ValueFactoryQImpl
- Throws:
RepositoryException
createValue
public Value createValue(Binary binary)
- Specified by:
createValue
in interface ValueFactory
- Overrides:
createValue
in class ValueFactoryQImpl
createValue
public Value createValue(InputStream value)
- Description copied from class:
ValueFactoryQImpl
-
- Specified by:
createValue
in interface ValueFactory
- Overrides:
createValue
in class ValueFactoryQImpl
createValue
public Value createValue(String value,
int type)
throws ValueFormatException
- Description copied from class:
ValueFactoryQImpl
-
- Specified by:
createValue
in interface ValueFactory
- Overrides:
createValue
in class ValueFactoryQImpl
- Throws:
ValueFormatException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.