org.apache.struts.taglib.tiles
クラス InsertTag.InsertHandler

java.lang.Object
  拡張org.apache.struts.taglib.tiles.InsertTag.InsertHandler
すべての実装インタフェース:
InsertTag.TagHandler
含まれているクラス:
InsertTag

protected class InsertTag.InsertHandler
extends java.lang.Object
implements InsertTag.TagHandler

Real handler, after attribute resolution. Handle include sub-component.


フィールドの概要
protected  Controller controller
           
protected  ComponentContext currentContext
           
protected  java.lang.String page
           
protected  java.lang.String role
           
protected  ComponentContext subCompContext
           
 
コンストラクタの概要
InsertTag.InsertHandler(java.util.Map attributes, java.lang.String page, java.lang.String role, Controller controller)
          Constructor.
InsertTag.InsertHandler(java.lang.String page, java.lang.String role, Controller controller)
          Constructor.
 
メソッドの概要
 int doEndTag()
          Include requested page.
 int doStartTag()
          Create a new empty context.
protected  void processException(java.lang.Throwable ex, java.lang.String msg)
          推奨されていません。 This method will be removed in a release after Struts 1.2.
 void putAttribute(java.lang.String name, java.lang.Object value)
          Add attribute to sub context.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

page

protected java.lang.String page

currentContext

protected ComponentContext currentContext

subCompContext

protected ComponentContext subCompContext

role

protected java.lang.String role

controller

protected Controller controller
コンストラクタの詳細

InsertTag.InsertHandler

public InsertTag.InsertHandler(java.util.Map attributes,
                               java.lang.String page,
                               java.lang.String role,
                               Controller controller)
Constructor. Create insert handler using Component definition.


InsertTag.InsertHandler

public InsertTag.InsertHandler(java.lang.String page,
                               java.lang.String role,
                               Controller controller)
Constructor. Create insert handler to insert page at specified location.

メソッドの詳細

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Create a new empty context.

定義:
インタフェース InsertTag.TagHandler 内の doStartTag
例外:
javax.servlet.jsp.JspException

putAttribute

public void putAttribute(java.lang.String name,
                         java.lang.Object value)
Add attribute to sub context. Do nothing.

定義:
インタフェース InsertTag.TagHandler 内の putAttribute

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Include requested page.

定義:
インタフェース InsertTag.TagHandler 内の doEndTag
例外:
javax.servlet.jsp.JspException

processException

protected void processException(java.lang.Throwable ex,
                                java.lang.String msg)
                         throws javax.servlet.jsp.JspException
推奨されていません。 This method will be removed in a release after Struts 1.2.

Process an exception. Depending of debug attribute, print full exception trace or only its message in output page.

パラメータ:
ex - Exception
msg - An additional message to show in console and to propagate if we can't output exception.
例外:
javax.servlet.jsp.JspException


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation