ThinkUI Data Generator 1.0.2 API

thinkui.db.io
Class DefaultFormatFactory

java.lang.Object
  extended bythinkui.db.io.AbstractFormatFactory
      extended bythinkui.db.io.DefaultFormatFactory
All Implemented Interfaces:
FormatFactory

public class DefaultFormatFactory
extends AbstractFormatFactory

Default implementation of the FormatFactory.


Field Summary
static java.lang.String CHOICE_FORMAT_TYPE
           
static java.lang.String DATE_FORMAT_TYPE
           
static java.lang.String DECIMAL_FORMAT_TYPE
           
static java.lang.String MESSAGE_FORMAT_TYPE
           
 
Constructor Summary
DefaultFormatFactory()
           
 
Method Summary
 java.text.Format createFormat(Attribute attr)
          Creates the Format to format values for the given attribute.
 
Methods inherited from class thinkui.db.io.AbstractFormatFactory
getFormatAttrNames, getFormatPattern, getFormatType, setFormatAttrNames, setFormatPattern, setFormatType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHOICE_FORMAT_TYPE

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

DATE_FORMAT_TYPE

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

DECIMAL_FORMAT_TYPE

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

MESSAGE_FORMAT_TYPE

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

DefaultFormatFactory

public DefaultFormatFactory()
Method Detail

createFormat

public java.text.Format createFormat(Attribute attr)
Creates the Format to format values for the given attribute.

Parameters:
attr - The attribute to create the Format object.
Returns:
The text Format object for formatting values for the attribute.

ThinkUI Data Generator 1.0.2 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.