Package org.nuxeo.runtime.model.impl
Class PropertyDecoder
- java.lang.Object
-
- org.nuxeo.runtime.model.impl.PropertyDecoder
-
public abstract class PropertyDecoder extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyDecoder
BOOLEAN
static PropertyDecoder
BYTE
static PropertyDecoder
CHAR
static PropertyDecoder
CLASS
static PropertyDecoder
COMPONENT
static PropertyDecoder
DOUBLE
static PropertyDecoder
FLOAT
static PropertyDecoder
INSTANCE
static PropertyDecoder
INTEGER
static PropertyDecoder
LIST
static PropertyDecoder
LONG
static PropertyDecoder
OBJECT
static PropertyDecoder
SHORT
static PropertyDecoder
STRING
-
Constructor Summary
Constructors Constructor Description PropertyDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Serializable
decode(String value)
static Serializable
decode(String type, String value)
static PropertyDecoder
getDecoder(String type)
static void
registerDecoder(String type, PropertyDecoder decoder)
-
-
-
Field Detail
-
STRING
public static final PropertyDecoder STRING
-
LIST
public static final PropertyDecoder LIST
-
LONG
public static final PropertyDecoder LONG
-
INTEGER
public static final PropertyDecoder INTEGER
-
DOUBLE
public static final PropertyDecoder DOUBLE
-
FLOAT
public static final PropertyDecoder FLOAT
-
BOOLEAN
public static final PropertyDecoder BOOLEAN
-
BYTE
public static final PropertyDecoder BYTE
-
CHAR
public static final PropertyDecoder CHAR
-
SHORT
public static final PropertyDecoder SHORT
-
OBJECT
public static final PropertyDecoder OBJECT
-
CLASS
public static final PropertyDecoder CLASS
-
INSTANCE
public static final PropertyDecoder INSTANCE
-
COMPONENT
public static final PropertyDecoder COMPONENT
-
-
Method Detail
-
decode
public static Serializable decode(String type, String value)
-
getDecoder
public static PropertyDecoder getDecoder(String type)
-
registerDecoder
public static void registerDecoder(String type, PropertyDecoder decoder)
-
decode
public abstract Serializable decode(String value)
-
-