Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.schema.types
Interface TypeHelper

All Superinterfaces:
Serializable

public interface TypeHelper
extends Serializable

Author:
Bogdan Stefanescu

Method Summary
<T> T
convertTo(Object value, Class<T> toType)
           
 Object decode(String input)
           
 String encode(Object input)
           
 boolean isTypeCompatible(Class<?> type)
           
 boolean isValueCompatible(Object value)
           
 Object newInstance()
           
 Object normalize(Object value)
           
 

Method Detail

decode

Object decode(String input)

encode

String encode(Object input)

normalize

Object normalize(Object value)

convertTo

<T> T convertTo(Object value,
                Class<T> toType)

isTypeCompatible

boolean isTypeCompatible(Class<?> type)

isValueCompatible

boolean isValueCompatible(Object value)

newInstance

Object newInstance()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.