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 org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl

ValueFactoryImpl...


Constructor Summary
ValueFactoryImpl(org.apache.jackrabbit.spi.commons.conversion.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(org.apache.jackrabbit.spi.QValue 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(org.apache.jackrabbit.spi.commons.conversion.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(org.apache.jackrabbit.spi.QValue qvalue)
Overrides:
createValue in class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl

createBinary

public Binary createBinary(InputStream stream)
                    throws RepositoryException
Specified by:
createBinary in interface ValueFactory
Overrides:
createBinary in class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
Throws:
RepositoryException

createValue

public Value createValue(Binary binary)
Specified by:
createValue in interface ValueFactory
Overrides:
createValue in class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl

createValue

public Value createValue(InputStream value)
Specified by:
createValue in interface ValueFactory
Overrides:
createValue in class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl

createValue

public Value createValue(String value,
                         int type)
                  throws ValueFormatException
Specified by:
createValue in interface ValueFactory
Overrides:
createValue in class org.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
Throws:
ValueFormatException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.