|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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:
Field Summary | |
private java.lang.String |
content
Deprecated. Templates regard this as content to be either included or printed directly. |
private java.lang.String |
direct
Deprecated. Represents a boolean - if true, content is included, otherwise content is printed. |
Constructor Summary | |
Content(java.lang.String content,
java.lang.String direct)
Deprecated. Use Tiles instead. |
Method Summary | |
java.lang.String |
getContent()
Deprecated. Use Tiles instead. |
boolean |
isDirect()
Deprecated. Use Tiles instead. |
java.lang.String |
toString()
Deprecated. Use Tiles instead. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.String content
private final java.lang.String direct
Constructor Detail |
public Content(java.lang.String content, java.lang.String direct)
content
- The content's URIdirect
- Is content printed directly (true) or included (false)?Method Detail |
public java.lang.String getContent()
public boolean isDirect()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |