|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.sse.Related
public class Related
Element within
.
Field Summary | |
---|---|
static int |
AGGREGATED
Indicates whether the link points to a feed whose contents are being incorporated into this feed by the publisher. |
static int |
COMPLETE
Indicates whether the link points to a file containing the complete collection of items for this feed. |
Constructor Summary | |
---|---|
Related()
|
Method Summary | |
---|---|
java.lang.String |
getLink()
link A required, URL attribute. |
java.util.Date |
getSince()
An optional, date-time attribute. |
java.lang.String |
getTitle()
title An optional, string attribute. |
int |
getType()
type A required, string attribute. |
java.util.Date |
getUntil()
An optional, date-time attribute. |
void |
setLink(java.lang.String link)
Set the URL for related feeds. |
void |
setSince(java.util.Date since)
Set the starting point of the related feed. |
void |
setTitle(java.lang.String title)
Set the name or description of the related feed. |
void |
setType(int type)
Set the type of relationship, complete or aggregated. |
void |
setUntil(java.util.Date until)
Set the ending point of the feed, until. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COMPLETE
public static final int AGGREGATED
Constructor Detail |
---|
public Related()
Method Detail |
---|
public java.lang.String getLink()
public void setLink(java.lang.String link)
link
- the URL for related feeds.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the name or description of the related feed.public int getType()
"complete" if the link points to file containing the complete collection of items for this feed.
"aggregated" if the link points to a feed whose contents are being incorporated into this feed by the publisher.
public void setType(int type)
type
- the type of relationship, complete or aggregated.public java.util.Date getSince()
public void setSince(java.util.Date since)
since
- the starting point of the related feed.public java.util.Date getUntil()
public void setUntil(java.util.Date until)
until
- the ending point of the feed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |