jp.littlesoft.web
クラス StringVelocityTemplate

java.lang.Object
  上位を拡張 jp.littlesoft.web.StringVelocityTemplate
すべての実装されたインタフェース:
Serializable

public class StringVelocityTemplate
extends Object
implements Serializable

Stringで定義するVelocityテンプレートクラス.

作成者:
littlesoft
関連項目:
直列化された形式

コンストラクタの概要
StringVelocityTemplate()
          コンストラクタ.
StringVelocityTemplate(String resource)
          コンストラクタ.
 
メソッドの概要
protected  void finalize()
           
 String getMergedString(org.apache.velocity.VelocityContext context)
          テンプレートとVelocityContextの値を合成します。
 String getResource()
          VelocityテンプレートをStringで取得します.
 void setResource(String resource)
          StringでVelocityテンプレートを設定します.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StringVelocityTemplate

public StringVelocityTemplate()
コンストラクタ.


StringVelocityTemplate

public StringVelocityTemplate(String resource)
コンストラクタ.

パラメータ:
resource - Velocityテンプレート
メソッドの詳細

setResource

public void setResource(String resource)
StringでVelocityテンプレートを設定します.

パラメータ:
resource -

getResource

public String getResource()
VelocityテンプレートをStringで取得します.

戻り値:

finalize

protected void finalize()
オーバーライド:
クラス Object 内の finalize

getMergedString

public String getMergedString(org.apache.velocity.VelocityContext context)
                       throws Exception
テンプレートとVelocityContextの値を合成します。

パラメータ:
context -
戻り値:
マージされたString
例外:
Exception


Copyright (C) 2006-2012 LittleSoft Corporation. All Rights Reserved.