org.chromattic.spi.type
Class SimpleTypeProvider<I,E>
java.lang.Object
org.chromattic.spi.type.SimpleTypeProvider<I,E>
- Direct Known Subclasses:
- SimpleTypeProvider.BINARY, SimpleTypeProvider.BOOLEAN, SimpleTypeProvider.DATE, SimpleTypeProvider.DOUBLE, SimpleTypeProvider.LONG, SimpleTypeProvider.NAME, SimpleTypeProvider.PATH, SimpleTypeProvider.STRING
public abstract class SimpleTypeProvider<I,E>
- extends java.lang.Object
The base class for the simple type Service Provider Interface.
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInternalType
public abstract java.lang.Class<I> getInternalType()
getExternalType
public abstract java.lang.Class<E> getExternalType()
getInternal
public abstract I getInternal(E e)
throws TypeConversionException
- Throws:
TypeConversionException
getExternal
public abstract E getExternal(I i)
throws TypeConversionException
- Throws:
TypeConversionException
fromString
public abstract E fromString(java.lang.String s)
throws TypeConversionException
- Throws:
TypeConversionException
toString
public abstract java.lang.String toString(E e)
throws TypeConversionException
- Throws:
TypeConversionException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.