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 PropertyDecoderBOOLEANstatic PropertyDecoderBYTEstatic PropertyDecoderCHARstatic PropertyDecoderCLASSstatic PropertyDecoderCOMPONENTstatic PropertyDecoderDOUBLEstatic PropertyDecoderFLOATstatic PropertyDecoderINSTANCEstatic PropertyDecoderINTEGERstatic PropertyDecoderLISTstatic PropertyDecoderLONGstatic PropertyDecoderOBJECTstatic PropertyDecoderSHORTstatic PropertyDecoderSTRING
-
Constructor Summary
Constructors Constructor Description PropertyDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Serializabledecode(String value)static Serializabledecode(String type, String value)static PropertyDecodergetDecoder(String type)static voidregisterDecoder(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)
-
-