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

Quick Search    Search Deep

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

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

public class Sharing
extends java.lang.Object

Element within RSS
or OPML
.


Field Summary
private  java.lang.Boolean ordered
           
private  java.util.Date since
           
private  java.util.Date until
           
private  java.lang.Integer window
           
 
Constructor Summary
Sharing()
           
 
Method Summary
 java.lang.Boolean getOrdered()
          ordered An optional, Boolean attribute.
 java.util.Date getSince()
          since An optional date-time attribute.
 java.util.Date getUntil()
          until An optional date-time attribute.
 java.lang.Integer getWindow()
          Provides an Integer that expresses the size of the window of change history kept by the publisher.
 void setOrdered(java.lang.Boolean ordered)
          Set whether subscribers MUST tread the item list as an ordered set.
 void setSince(java.util.Date since)
          Sets the optional date-time attribute where all items updated on or after this date-time are included in the feed.
 void setUntil(java.util.Date until)
          Set the date where items updated after this date are not included in the feed.
 void setWindow(java.lang.Integer window)
          Set an Integer that expresses the size of the window of change history kept by the publisher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ordered

private java.lang.Boolean ordered

window

private java.lang.Integer window

since

private java.util.Date since

until

private java.util.Date until
Constructor Detail

Sharing

public Sharing()
Method Detail

getOrdered

public java.lang.Boolean getOrdered()
ordered An optional, Boolean attribute. If present and its value is "true" (lower-case), subscribers MUST treat the item list as an ordered set (see section 3.2). If this attribute is omitted or blank, it is assumed that this is an unordered feed.


setOrdered

public void setOrdered(java.lang.Boolean ordered)
Set whether subscribers MUST tread the item list as an ordered set.


getWindow

public java.lang.Integer getWindow()
Provides an Integer that expresses the size of the window of change history kept by the publisher. Subscribers MAY use this value to determine the frequency with which they must read a feed.


setWindow

public void setWindow(java.lang.Integer window)
Set an Integer that expresses the size of the window of change history kept by the publisher.


getSince

public java.util.Date getSince()
since An optional date-time attribute. All items updated on or after this date-time are included in the feed. If not present or null, the "beginning of time" is assumed and the feed contains the node's complete item set as of the until date-time.


setSince

public void setSince(java.util.Date since)
Sets the optional date-time attribute where all items updated on or after this date-time are included in the feed.


getUntil

public java.util.Date getUntil()
until An optional date-time attribute. Items updated after this date are not included in the feed. The publisher must guarantee that the value of until will increase if any items in the feed are updated. If this attribute is omitted or blank, the subscriber cannot make assumptions about when the feed was updated.


setUntil

public void setUntil(java.util.Date until)
Set the date where items updated after this date are not included in the feed.