Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.model.util
Class TypeFactoryAdapter

java.lang.Object
  extended by oracle.adfnmc.model.util.TypeFactoryAdapter
All Implemented Interfaces:
TypeConversion

public class TypeFactoryAdapter
extends java.lang.Object
implements TypeConversion

Implements the generic TypeConversion interface in terms of TypeFactory


Constructor Summary
TypeFactoryAdapter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class destinationType, java.lang.Object sourceValue)
           
 void registerConversionForClass(java.lang.Class destinationType, java.lang.Class sourceType, java.lang.Object conversionImpl)
          Extensibility method to add conversions at runtime.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactoryAdapter

public TypeFactoryAdapter()
Method Detail

convert

public java.lang.Object convert(java.lang.Class destinationType,
                                java.lang.Object sourceValue)
Specified by:
convert in interface TypeConversion
Returns:
An Object of type destinationType or null if the conversion fails

registerConversionForClass

public void registerConversionForClass(java.lang.Class destinationType,
                                       java.lang.Class sourceType,
                                       java.lang.Object conversionImpl)
Description copied from interface: TypeConversion
Extensibility method to add conversions at runtime.

Specified by:
registerConversionForClass in interface TypeConversion
conversionImpl - Form and behavior of this object is defined by TypeConversion implementor

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.