org.apache.jackrabbit.core.value
Class ValueFactoryImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
      extended by org.apache.jackrabbit.core.value.ValueFactoryImpl
All Implemented Interfaces:
ValueFactory

public class ValueFactoryImpl
extends ValueFactoryQImpl

ValueFactoryImpl...


Constructor Summary
ValueFactoryImpl(NamePathResolver resolver, DataStore store)
          Constructs a new ValueFactoryQImpl based on an existing SPI QValueFactory and a NamePathResolver.
 
Method Summary
 Binary createBinary(InputStream stream)
           
 Value createValue(Binary binary)
           
 Value createValue(InputStream value)
          
 Value createValue(QValue qvalue)
          Create a new Value based on an existing QValue
 Value createValue(String value, int type)
          
 
Methods inherited from class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, getQValueFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueFactoryImpl

public ValueFactoryImpl(NamePathResolver resolver,
                        DataStore store)
Constructs a new ValueFactoryQImpl based on an existing SPI QValueFactory and a NamePathResolver.

Parameters:
resolver - wrapped NamePathResolver
Method Detail

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.