org.seasar.fisshplate.core.element
クラス El

java.lang.Object
  上位を拡張 org.seasar.fisshplate.core.element.El
すべての実装されたインタフェース:
TemplateElement

public class El
extends Object
implements TemplateElement

テンプレートのセルの値にバインド変数が含まれる場合の要素クラスです。OGNLで評価します。

作成者:
rokugen

フィールドの概要
protected  AbstractCell targetElement
           
 
コンストラクタの概要
El(AbstractCell target)
          コンストラクタです。
 
メソッドの概要
protected  Object convertLineFeed(Object value)
           
protected  Object getBoundValue(FPContext context)
           
 String getOriginalCellValue()
           
 void merge(FPContext context)
          コンテキストに格納されたデータをテンプレートに埋め込みます。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

targetElement

protected AbstractCell targetElement
コンストラクタの詳細

El

public El(AbstractCell target)
コンストラクタです。

パラメータ:
target - バインド変数を評価する対象となるセル要素
メソッドの詳細

merge

public void merge(FPContext context)
           throws FPMergeException
インタフェース TemplateElement の記述:
コンテキストに格納されたデータをテンプレートに埋め込みます。

定義:
インタフェース TemplateElement 内の merge
パラメータ:
context - コンテキスト
例外:
FPMergeException - データ埋め込み時にエラーが発生した際に投げられます。

getBoundValue

protected Object getBoundValue(FPContext context)
                        throws FPMergeException
例外:
FPMergeException

convertLineFeed

protected Object convertLineFeed(Object value)

getOriginalCellValue

public String getOriginalCellValue()


Copyright © 2009 The Seasar Foundation. All Rights Reserved.