woolpack.el.convert
クラス ConvertConstants

java.lang.Object
  上位を拡張 woolpack.el.convert.ConvertConstants

public class ConvertConstants
extends java.lang.Object

定数の集まり。

作成者:
nakamura

フィールドの概要
static Convertable COLLECTION_CONVERTER
          一覧型変換器のデフォルト値。
static Convertable ECHO
          変換前の値をそのまま返すConvertable
static Convertable SIMPLE_CONVERTER
          単純型変換器のデフォルト値。
 
メソッドの概要
static Convertable getCollectionConverter(java.text.NumberFormat numberFormat, java.text.DateFormat dateFormat, BooleanFormat booleanFormat)
          一覧型変換器を返す。
static Convertable getCollectionConverter(ValidatorExpression expression, java.text.NumberFormat numberFormat, java.text.DateFormat dateFormat, BooleanFormat booleanFormat)
          一覧型変換器を返す。
static Convertable getSimpleConverter(java.text.NumberFormat numberFormat, java.text.DateFormat dateFormat, BooleanFormat booleanFormat)
          単純型変換器を返す。
static Convertable getSimpleConverter(ValidatorExpression expression, java.text.NumberFormat numberFormat, java.text.DateFormat dateFormat, BooleanFormat booleanFormat)
          単純型変換器を返す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ECHO

public static final Convertable ECHO
変換前の値をそのまま返すConvertable


SIMPLE_CONVERTER

public static final Convertable SIMPLE_CONVERTER
単純型変換器のデフォルト値。


COLLECTION_CONVERTER

public static final Convertable COLLECTION_CONVERTER
一覧型変換器のデフォルト値。

メソッドの詳細

getSimpleConverter

public static Convertable getSimpleConverter(java.text.NumberFormat numberFormat,
                                             java.text.DateFormat dateFormat,
                                             BooleanFormat booleanFormat)
単純型変換器を返す。

パラメータ:
numberFormat - 数値フォーマット。
dateFormat - 日付フォーマット。
booleanFormat - 真偽値フォーマット。
戻り値:
単純型変換器。
例外:
java.lang.NullPointerException - 引数のいずれかが null の場合。

getSimpleConverter

public static Convertable getSimpleConverter(ValidatorExpression expression,
                                             java.text.NumberFormat numberFormat,
                                             java.text.DateFormat dateFormat,
                                             BooleanFormat booleanFormat)
単純型変換器を返す。

パラメータ:
expression - プロパティ名による変換処理の委譲先。
numberFormat - 数値フォーマット。
dateFormat - 日付フォーマット。
booleanFormat - 真偽値フォーマット。
戻り値:
単純型変換器。
例外:
java.lang.NullPointerException - 引数のいずれかが null の場合。

getCollectionConverter

public static Convertable getCollectionConverter(java.text.NumberFormat numberFormat,
                                                 java.text.DateFormat dateFormat,
                                                 BooleanFormat booleanFormat)
一覧型変換器を返す。

パラメータ:
numberFormat - 数値フォーマット。
dateFormat - 日付フォーマット。
booleanFormat - 真偽値フォーマット。
戻り値:
一覧型変換器。
例外:
java.lang.NullPointerException - 引数のいずれかが null の場合。

getCollectionConverter

public static Convertable getCollectionConverter(ValidatorExpression expression,
                                                 java.text.NumberFormat numberFormat,
                                                 java.text.DateFormat dateFormat,
                                                 BooleanFormat booleanFormat)
一覧型変換器を返す。

パラメータ:
expression - プロパティ名による変換処理の委譲先。
numberFormat - 数値フォーマット。
dateFormat - 日付フォーマット。
booleanFormat - 真偽値フォーマット。
戻り値:
一覧型変換器。
例外:
java.lang.NullPointerException - 引数のいずれかが null の場合。


Copyright (C) 2006 Takahiro Nakamura. All rights reserved.