Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.format
Class FormatterFactory

java.lang.Object
  extended by oracle.jbo.format.FormatterFactory

public class FormatterFactory
extends java.lang.Object

A singleton factory for formatters.


Constructor Summary
FormatterFactory()
           
 
Method Summary
static Formatter createFormatter(java.lang.String formatterClassName, LocaleContext locale)
           
static Formatter getFormatter(java.lang.String formatterClassName, LocaleContext locale)
          Returns the singleton formatter for the formatter class name that has been specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterFactory

public FormatterFactory()
Method Detail

getFormatter

public static Formatter getFormatter(java.lang.String formatterClassName,
                                     LocaleContext locale)
Returns the singleton formatter for the formatter class name that has been specified. Please note that formatters may be locale sensitive.

Parameters:
formatterClassName - the class name of the formatter.
locale - the locale for which this formatter will be used.
Returns:
a singleton formatter instance

createFormatter

public static Formatter createFormatter(java.lang.String formatterClassName,
                                        LocaleContext locale)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.