org.apache.jackrabbit.value
Class ValueFactoryImpl

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

public class ValueFactoryImpl
extends Object
implements ValueFactory

This class implements the ValueFactory interface.

See Also:
Session.getValueFactory()

Constructor Summary
protected ValueFactoryImpl()
          Constructs a ValueFactory object.
 
Method Summary
 Value createValue(boolean value)
          
 Value createValue(Calendar value)
          
 Value createValue(double value)
          
 Value createValue(InputStream value)
          
 Value createValue(long value)
          
 Value createValue(Node value)
          
 Value createValue(String value)
          
 Value createValue(String value, int type)
          
static ValueFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueFactoryImpl

protected ValueFactoryImpl()
Constructs a ValueFactory object.

Method Detail

getInstance

public static ValueFactory getInstance()

createValue

public Value createValue(boolean value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(Calendar value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(double value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(InputStream value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(long value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(Node value)
                  throws RepositoryException

Specified by:
createValue in interface ValueFactory
Throws:
RepositoryException

createValue

public Value createValue(String value)

Specified by:
createValue in interface ValueFactory

createValue

public Value createValue(String value,
                         int type)
                  throws ValueFormatException

Specified by:
createValue in interface ValueFactory
Throws:
ValueFormatException


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