Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.sse
Class Related  view Related download Related.java

java.lang.Object
  extended bycom.sun.syndication.feed.sse.Related

public class Related
extends java.lang.Object

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.
private  java.lang.String link
           
private  java.util.Date since
           
private  java.lang.String title
           
private  int type
           
private  java.util.Date until
           
 
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

COMPLETE

public static final int COMPLETE
Indicates whether the link points to a file containing the complete collection of items for this feed.

See Also:
Constant Field Values

AGGREGATED

public static final int AGGREGATED
Indicates whether the link points to a feed whose contents are being incorporated into this feed by the publisher.

See Also:
Constant Field Values

link

private java.lang.String link

title

private java.lang.String title

type

private int type

since

private java.util.Date since

until

private java.util.Date until
Constructor Detail

Related

public Related()
Method Detail

getLink

public java.lang.String getLink()
link A required, URL attribute. The URL for related feeds.


setLink

public void setLink(java.lang.String link)
Set the URL for related feeds.


getTitle

public java.lang.String getTitle()
title An optional, string attribute. The name or description of the related feed.


setTitle

public void setTitle(java.lang.String title)
Set the name or description of the related feed.


getType

public int getType()
type A required, string attribute. This attribute can have one of the following values:

"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.


setType

public void setType(int type)
Set the type of relationship, complete or aggregated.


getSince

public java.util.Date getSince()
An optional, date-time attribute. This is the starting point of the related feed. If this attribute is omitted or blank, it is assumed that this is a complete feed.


setSince

public void setSince(java.util.Date since)
Set the starting point of the related feed.


getUntil

public java.util.Date getUntil()
An optional, date-time attribute. This is the ending point of a feed.


setUntil

public void setUntil(java.util.Date until)
Set the ending point of the feed, until. An optional, date-time attribute.