Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.model.impl
Class PropertyDecoder

java.lang.Object
  extended by org.nuxeo.runtime.model.impl.PropertyDecoder

public abstract class PropertyDecoder
extends Object

Author:
Bogdan Stefanescu

Field Summary
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
PropertyDecoder()
           
 
Method Summary
abstract  Serializable decode(String value)
           
static Serializable decode(String type, String value)
           
static PropertyDecoder getDecoder(String type)
           
static void registerDecoder(String type, PropertyDecoder decoder)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

PropertyDecoder

public PropertyDecoder()
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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.