mirror of https://github.com/readrops/Readrops.git
89 lines
1.7 KiB
Java
89 lines
1.7 KiB
Java
package com.readrops.readropslibrary.localfeed.atom;
|
|
|
|
import com.readrops.readropslibrary.localfeed.AItem;
|
|
|
|
import org.simpleframework.xml.Attribute;
|
|
import org.simpleframework.xml.Element;
|
|
import org.simpleframework.xml.Root;
|
|
|
|
@Root(name = "entry", strict = false)
|
|
public class ATOMEntry extends AItem {
|
|
|
|
@Element(required = false)
|
|
private String title;
|
|
|
|
@Element(required = false)
|
|
private ATOMLink link;
|
|
|
|
@Element(required = false)
|
|
private String updated;
|
|
|
|
@Element(required = false)
|
|
private String summary;
|
|
|
|
@Element(required = false)
|
|
private String id;
|
|
|
|
@Element(required = false)
|
|
private String content;
|
|
|
|
@Attribute(name = "type", required = false)
|
|
private String contentType;
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public ATOMLink getLink() {
|
|
return link;
|
|
}
|
|
|
|
public void setLink(ATOMLink link) {
|
|
this.link = link;
|
|
}
|
|
|
|
public String getUpdated() {
|
|
return updated;
|
|
}
|
|
|
|
public void setUpdated(String updated) {
|
|
this.updated = updated;
|
|
}
|
|
|
|
public String getSummary() {
|
|
return summary;
|
|
}
|
|
|
|
public void setSummary(String summary) {
|
|
this.summary = summary;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public String getContentType() {
|
|
return contentType;
|
|
}
|
|
|
|
public void setContentType(String contentType) {
|
|
this.contentType = contentType;
|
|
}
|
|
}
|