jp.littlesoft.web
クラス WebDataTable.PageVelocityHandler

java.lang.Object
  上位を拡張 jp.littlesoft.web.WebDataTable.PageVelocityHandler
すべての実装されたインタフェース:
Serializable, org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.InvalidReferenceEventHandler, org.apache.velocity.app.event.MethodExceptionEventHandler, org.apache.velocity.app.event.ReferenceInsertionEventHandler
含まれているクラス:
WebDataTable<E extends Serializable>

public static class WebDataTable.PageVelocityHandler
extends Object
implements org.apache.velocity.app.event.ReferenceInsertionEventHandler, org.apache.velocity.app.event.InvalidReferenceEventHandler, org.apache.velocity.app.event.MethodExceptionEventHandler, Serializable

Velecityの動作をカスタマイズするハンドラ. LSJのHTMLテンプレートに必要なメソッドを拡張します。

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

入れ子のクラスの概要
 
インタフェース org.apache.velocity.app.event.ReferenceInsertionEventHandler から継承された入れ子のクラス/インタフェース
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
インタフェース org.apache.velocity.app.event.InvalidReferenceEventHandler から継承された入れ子のクラス/インタフェース
org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor, org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor, org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
 
インタフェース org.apache.velocity.app.event.MethodExceptionEventHandler から継承された入れ子のクラス/インタフェース
org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
 
コンストラクタの概要
WebDataTable.PageVelocityHandler(WebDataTable.PageContext pageContext)
           
 
メソッドの概要
 Object invalidGetMethod(org.apache.velocity.context.Context context, String reference, Object object, String property, org.apache.velocity.util.introspection.Info info)
           
 Object invalidMethod(org.apache.velocity.context.Context context, String reference, Object object, String method, org.apache.velocity.util.introspection.Info info)
           
 boolean invalidSetMethod(org.apache.velocity.context.Context context, String leftreference, String rightreference, org.apache.velocity.util.introspection.Info info)
           
 Object methodException(Class clazz, String method, Exception exception)
           
 Object referenceInsert(String reference, Object value)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WebDataTable.PageVelocityHandler

public WebDataTable.PageVelocityHandler(WebDataTable.PageContext pageContext)
メソッドの詳細

referenceInsert

public Object referenceInsert(String reference,
                              Object value)
定義:
インタフェース org.apache.velocity.app.event.ReferenceInsertionEventHandler 内の referenceInsert

invalidGetMethod

public Object invalidGetMethod(org.apache.velocity.context.Context context,
                               String reference,
                               Object object,
                               String property,
                               org.apache.velocity.util.introspection.Info info)
定義:
インタフェース org.apache.velocity.app.event.InvalidReferenceEventHandler 内の invalidGetMethod

invalidMethod

public Object invalidMethod(org.apache.velocity.context.Context context,
                            String reference,
                            Object object,
                            String method,
                            org.apache.velocity.util.introspection.Info info)
定義:
インタフェース org.apache.velocity.app.event.InvalidReferenceEventHandler 内の invalidMethod

invalidSetMethod

public boolean invalidSetMethod(org.apache.velocity.context.Context context,
                                String leftreference,
                                String rightreference,
                                org.apache.velocity.util.introspection.Info info)
定義:
インタフェース org.apache.velocity.app.event.InvalidReferenceEventHandler 内の invalidSetMethod

methodException

public Object methodException(Class clazz,
                              String method,
                              Exception exception)
                       throws Exception
定義:
インタフェース org.apache.velocity.app.event.MethodExceptionEventHandler 内の methodException
例外:
Exception


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