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

E17503-02

oracle.adfnmc.util
Class TypeConversionFactory

java.lang.Object
  extended by oracle.adfnmc.util.TypeConversionFactory

public class TypeConversionFactory
extends java.lang.Object


Field Summary
static java.lang.String DEFAULT_TYPE_CONVERSION_CLASS_NAME
           
static java.lang.String JUEL_TYPE_CONVERSION_CLASS_NAME
           
static java.lang.String MODEL_TYPE_CONVERSION_CLASS_NAME
           
 
Constructor Summary
TypeConversionFactory()
           
 
Method Summary
static void addTypeConversionImplementation(java.lang.String conversionImplClassName, TypeConversion conversionImpl)
          Registers an instance of a TypeConversion implementation defined by conversionImplClassName with the runtime.
static TypeConversion getDefaultTypeConversionImplementation()
          Returns an instance of the TypeConversion implementation defined by the value of the configuration file property "default-type-conversion-class".
static TypeConversion getTypeConversionImplementation(java.lang.String conversionImplClassName)
          Returns an instance of a TypeConversion implementation defined by conversionImplClassName.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODEL_TYPE_CONVERSION_CLASS_NAME

public static final java.lang.String MODEL_TYPE_CONVERSION_CLASS_NAME
See Also:
Constant Field Values

JUEL_TYPE_CONVERSION_CLASS_NAME

public static final java.lang.String JUEL_TYPE_CONVERSION_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_TYPE_CONVERSION_CLASS_NAME

public static final java.lang.String DEFAULT_TYPE_CONVERSION_CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

TypeConversionFactory

public TypeConversionFactory()
Method Detail

addTypeConversionImplementation

public static void addTypeConversionImplementation(java.lang.String conversionImplClassName,
                                                   TypeConversion conversionImpl)
Registers an instance of a TypeConversion implementation defined by conversionImplClassName with the runtime.

Parameters:
conversionImplClassName - The full name of the implementing TypeConversion class.
conversionImpl -

getTypeConversionImplementation

public static TypeConversion getTypeConversionImplementation(java.lang.String conversionImplClassName)
Returns an instance of a TypeConversion implementation defined by conversionImplClassName.

Parameters:
conversionImplClassName - The full name of the implementing TypeConversion class.
Returns:

getDefaultTypeConversionImplementation

public static TypeConversion getDefaultTypeConversionImplementation()
Returns an instance of the TypeConversion implementation defined by the value of the configuration file property "default-type-conversion-class". If this property is not defined, returns an instance of DEFAULT_TYPE_CONVERSION_CLASS_NAME.

Returns:

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.