org.apache.struts.taglib.tiles
クラス UseAttributeTag

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張org.apache.struts.taglib.tiles.UseAttributeTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class UseAttributeTag
extends javax.servlet.jsp.tagext.TagSupport

Custom tag exposing a component attribute to page.

関連項目:
直列化された形式

フィールドの概要
private  java.lang.String attributeName
          The attribute name to be exposed.
private  java.lang.String classname
          Class name of object.
protected  boolean isErrorIgnored
          Are errors ignored.
private  int scope
          The scope value.
private  java.lang.String scopeName
          The scope name.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
UseAttributeTag()
           
 
メソッドの概要
 int doEndTag()
          Clean up after processing this enumeration.
 int doStartTag()
          Expose the requested attribute from component context.
 java.lang.String getClassname()
          Get class name.
 boolean getIgnore()
          Get ignore.
 java.lang.String getName()
          Get name.
 java.lang.String getScope()
          Get scope.
 void release()
          Release all allocated resources.
 void setClassname(java.lang.String name)
          Set the class name.
 void setIgnore(boolean ignore)
          Set ignore.
 void setName(java.lang.String value)
          Set name.
 void setScope(java.lang.String scope)
          Set the scope.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド
 

フィールドの詳細

classname

private java.lang.String classname
Class name of object.


scopeName

private java.lang.String scopeName
The scope name.


scope

private int scope
The scope value.


attributeName

private java.lang.String attributeName
The attribute name to be exposed.


isErrorIgnored

protected boolean isErrorIgnored
Are errors ignored. This is the property for attribute 'ignore'. Default value is false, which throws an exception. Only "attribute not found" - errors are ignored.

コンストラクタの詳細

UseAttributeTag

public UseAttributeTag()
メソッドの詳細

release

public void release()
Release all allocated resources.


getClassname

public java.lang.String getClassname()
Get class name.


setClassname

public void setClassname(java.lang.String name)
Set the class name.

パラメータ:
name - The new class name.

setName

public void setName(java.lang.String value)
Set name.


getName

public java.lang.String getName()
Get name.


setScope

public void setScope(java.lang.String scope)
Set the scope.

パラメータ:
scope - The new scope.

getScope

public java.lang.String getScope()
Get scope.


setIgnore

public void setIgnore(boolean ignore)
Set ignore.


getIgnore

public boolean getIgnore()
Get ignore.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Expose the requested attribute from component context.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Clean up after processing this enumeration.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred


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