public abstract class PropertyDecoder extends Object
Modifier and Type | Field and 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 and Description |
---|
PropertyDecoder() |
Modifier and Type | Method and 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) |
public static final PropertyDecoder STRING
public static final PropertyDecoder LIST
public static final PropertyDecoder LONG
public static final PropertyDecoder INTEGER
public static final PropertyDecoder DOUBLE
public static final PropertyDecoder FLOAT
public static final PropertyDecoder BOOLEAN
public static final PropertyDecoder BYTE
public static final PropertyDecoder CHAR
public static final PropertyDecoder SHORT
public static final PropertyDecoder OBJECT
public static final PropertyDecoder CLASS
public static final PropertyDecoder INSTANCE
public static final PropertyDecoder COMPONENT
public static Serializable decode(String type, String value)
public static PropertyDecoder getDecoder(String type)
public static void registerDecoder(String type, PropertyDecoder decoder)
public abstract Serializable decode(String value)
Copyright © 2015 Nuxeo SA. All rights reserved.