com.ontimize.dms.jcr
Class ValueConverterBase
java.lang.Object
com.ontimize.dms.jcr.ValueConverterBase
- All Implemented Interfaces:
- ValueConverter
public abstract class ValueConverterBase
- extends java.lang.Object
- implements ValueConverter
|
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 |
ValueConverterBase
public ValueConverterBase()
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)