org.seasar.mayaa.builder.library.converter
インタフェース PropertyConverter

すべてのスーパーインタフェース:
ParameterAware, PositionAware, java.io.Serializable

public interface PropertyConverter
extends ParameterAware

プロセッサ設定のプロパティ値を変換提供するコンバータ。


フィールドの概要
 
インタフェース org.seasar.mayaa.ParameterAware から継承したフィールド
IS_SECURE_WEB
 
メソッドの概要
 java.io.Serializable convert(NodeAttribute attribute, java.lang.String value, java.lang.Class expectedClass)
          プロパティの変換を行う。
 java.lang.Class getPropetyClass()
          このコンバータが処理を行うプロパティの静的型を取得する。
 
インタフェース org.seasar.mayaa.ParameterAware から継承したメソッド
getParameter, iterateParameterNames, setParameter
 
インタフェース org.seasar.mayaa.PositionAware から継承したメソッド
getLineNumber, getSystemID, isOnTemplate, setLineNumber, setOnTemplate, setSystemID
 

メソッドの詳細

getPropetyClass

public java.lang.Class getPropetyClass()
このコンバータが処理を行うプロパティの静的型を取得する。

戻り値:
プロパティ型。

convert

public java.io.Serializable convert(NodeAttribute attribute,
                                    java.lang.String value,
                                    java.lang.Class expectedClass)
プロパティの変換を行う。

パラメータ:
attribute - 設定属性。
value - 変換する文字列値。
expectedClass - 動的値の場合に期待する動的型。
戻り値:
変換値。