package com.readrops.api.localfeed.rss;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Text;

@Root(name = "link", strict = false)
public class RSSLink {

    @Text(required = false)
    private String text;

    @Attribute(name = "href", required = false)
    private String href;

    public RSSLink() {

    }

    public RSSLink(String text, String href) {
        this.text = text;
        this.href = href;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
