|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.taglib.template.util.Content
A utility file for templates.
This represents template content, which is included by templates. Templates can also treat content as plain text and print it to the implicit out variable. This simple class maintain two properties:
| フィールドの概要 | |
private java.lang.String |
content
Templates regard this as content to be either included or printed directly. |
private java.lang.String |
direct
Represents a boolean; if true, content is included, otherwise content is printed. |
| コンストラクタの概要 | |
Content(java.lang.String content,
java.lang.String direct)
The only constructor. |
|
| メソッドの概要 | |
java.lang.String |
getContent()
Return content |
boolean |
isDirect()
Is content to be printed directly (isDirect() == true) instead of included (isDirect() == false)? |
java.lang.String |
toString()
Returns a string representation of the content |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
private final java.lang.String content
private final java.lang.String direct
| コンストラクタの詳細 |
public Content(java.lang.String content,
java.lang.String direct)
content - The content's URIdirect - Is content printed directly (true) or included (false)?| メソッドの詳細 |
public java.lang.String getContent()
public boolean isDirect()
public java.lang.String toString()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||