| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.struts.taglib.template.util.Contentpublic class Contentextends java.lang.Objectimplements java.io.SerializableField Summary | |
private String |
|
private String |
|
Constructor Summary | |
| |
Method Summary | |
String |
|
boolean |
|
String |
|
private final String content
Templates regard this as content to be either included or printed directly. This is a blank final that is set at construction.
private final String direct
Represents a boolean - if true, content is included, otherwise content is printed. This is a blank final that is set at construction. This is a string instead of a boolean as a convenience for the tags, whose corresponding attribute is a string.
public Content(String content,
String direct)Deprecated. Use Tiles instead.
The only constructor.
- Parameters:
content- The content's URIdirect- Is content printed directly (true) or included (false)?
public String getContent()
Deprecated. Use Tiles instead.
Return content.
public boolean isDirect()
Deprecated. Use Tiles instead.
Is content to be printed directly (isDirect() == true) instead of included (isDirect() == false).
public String toString()
Deprecated. Use Tiles instead.
Returns a string representation of the content.