Nuxeo Enterprise Platform 5.4

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

All Superinterfaces:
java.io.Serializable

public interface TypeHelper
extends java.io.Serializable

Author:
Bogdan Stefanescu

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

Method Detail

decode

java.lang.Object decode(java.lang.String input)

encode

java.lang.String encode(java.lang.Object input)

normalize

java.lang.Object normalize(java.lang.Object value)

convertTo

<T> T convertTo(java.lang.Object value,
                java.lang.Class<T> toType)

isTypeCompatible

boolean isTypeCompatible(java.lang.Class<?> type)

isValueCompatible

boolean isValueCompatible(java.lang.Object value)

newInstance

java.lang.Object newInstance()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.