Ontimize Document Management 0.035EN

com.ontimize.dms.jcr
Class ValueConverterBase

java.lang.Object
  extended by com.ontimize.dms.jcr.ValueConverterBase
All Implemented Interfaces:
ValueConverter

public abstract class ValueConverterBase
extends java.lang.Object
implements ValueConverter


Constructor Summary
ValueConverterBase()
           
 
Method Summary
protected abstract  java.util.Map getClassMap()
           
protected abstract  java.util.Map getNullMap()
           
protected  byte[] toByteArray(java.io.InputStream is)
           
 java.lang.Class toClass(Property property)
           
 Value toNull(java.lang.Class clazz)
           
 Value[] toValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ontimize.dms.jcr.ValueConverter
toObject
 

Constructor Detail

ValueConverterBase

public ValueConverterBase()
Method Detail

toValue

public Value[] toValue(java.lang.Object value)
                throws RepositoryException
Specified by:
toValue in interface ValueConverter
Throws:
RepositoryException

toClass

public java.lang.Class toClass(Property property)
                        throws RepositoryException
Specified by:
toClass in interface ValueConverter
Throws:
RepositoryException

toNull

public Value toNull(java.lang.Class clazz)
             throws RepositoryException
Specified by:
toNull in interface ValueConverter
Throws:
RepositoryException

getClassMap

protected abstract java.util.Map getClassMap()

getNullMap

protected abstract java.util.Map getNullMap()

toByteArray

protected byte[] toByteArray(java.io.InputStream is)

Ontimize Document Management