?? blogcomment.java
字號:
package com.ajaxlab.ajax;
import org.jdom.*;
public class BlogComment {
private String author = "";
private String blogimage = "";
private String commentdate = "";
private String blogurl = "";
private String email = "";
private String commentcontent = "";
public BlogComment() {
}
public BlogComment(Element element) {
this.setAuthor(element.getChildText("author"));
this.setBlogimage(element.getChildText("blogimage"));
this.setCommentdate(element.getChildText("commentdate"));
this.setBlogurl(element.getChildText("blogurl"));
this.setEmail(element.getChildText("email"));
this.setCommentcontent(element.getChildText("commentcontent"));
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getBlogimage() {
return this.blogimage;
}
public void setBlogimage(String blogimage) {
this.blogimage = blogimage;
}
public String getCommentdate() {
return this.commentdate;
}
public void setCommentdate(String commentdate) {
this.commentdate = commentdate;
}
public String getBlogurl() {
return this.blogurl;
}
public void setBlogurl(String blogurl) {
this.blogurl = blogurl;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getCommentcontent() {
return this.commentcontent;
}
public void setCommentcontent(String commentcontent) {
this.commentcontent = commentcontent;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -