org.seasar.doma.extension.gen
クラス OnDemandDateModel

java.lang.Object
  上位を拡張 org.seasar.doma.extension.gen.OnDemandDateModel
すべての実装されたインタフェース:
freemarker.template.TemplateDateModel, freemarker.template.TemplateModel

public class OnDemandDateModel
extends Object
implements freemarker.template.TemplateDateModel

必要とされるたびにDateを生成するTemplateDateModelの実装です。

作成者:
taedium

フィールドの概要
 
インタフェース freemarker.template.TemplateDateModel から継承されたフィールド
DATE, DATETIME, TIME, TYPE_NAMES, UNKNOWN
 
インタフェース freemarker.template.TemplateModel から継承されたフィールド
NOTHING
 
コンストラクタの概要
OnDemandDateModel()
           
 
メソッドの概要
 Date getAsDate()
           
 int getDateType()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

OnDemandDateModel

public OnDemandDateModel()
メソッドの詳細

getAsDate

public Date getAsDate()
               throws freemarker.template.TemplateModelException
定義:
インタフェース freemarker.template.TemplateDateModel 内の getAsDate
例外:
freemarker.template.TemplateModelException

getDateType

public int getDateType()
定義:
インタフェース freemarker.template.TemplateDateModel 内の getDateType


Copyright © 2009-2013 The Seasar Foundation. All Rights Reserved.