-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContent.java
More file actions
38 lines (30 loc) · 947 Bytes
/
Content.java
File metadata and controls
38 lines (30 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package javaxt.express.cms;
//******************************************************************************
//** HTML Content
//******************************************************************************
/**
* Represents a block of HTML that will be inserted into a template via the
* <%=content%> tag.
*
******************************************************************************/
public class Content {
private java.util.Date date;
private String html;
private int statusCode = 200;
public Content(String html, java.util.Date date){
this.html = html;
this.date = date;
}
public void setStatusCode(int statusCode){
this.statusCode = statusCode;
}
public int getStatusCode(){
return statusCode;
}
public java.util.Date getDate(){
return date;
}
public String getHTML(){
return html;
}
}