public abstract class ValueConverter extends Object
Converters are associated with a type.
Constructor and Description |
---|
ValueConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
addConvertor(String type,
ValueConverter convertor) |
abstract Object |
convert(Object value) |
static Object |
getValue(String type,
Object value) |
static void |
removeConvertor(String type) |
public abstract Object convert(Object value) throws TypeException
TypeException
public static void addConvertor(String type, ValueConverter convertor)
public static void removeConvertor(String type)
public static Object getValue(String type, Object value) throws TypeException
TypeException
Copyright © 2011 Nuxeo SA. All Rights Reserved.