📄 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 + -