java.lang.Object
com.sun.syndication.feed.sse.Update
- public class Update
- extends java.lang.Object
Element within
.
|
Method Summary |
java.lang.String |
getBy()
Provides access to a text attribute identifying the unique endpoint that made a modification. |
java.util.Date |
getWhen()
Provides access to the date-time when the modification took place. |
void |
setBy(java.lang.String by)
Sets a text attribute identifying the unique endpoint that made a modification. |
void |
setWhen(java.util.Date when)
Set the date-time when the modification took place. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
when
private java.util.Date when
by
private java.lang.String by
Update
public Update()
getWhen
public java.util.Date getWhen()
- Provides access to the date-time when the modification took place. If this attribute is omitted
the value defaults to the earliest time representable in RFC 822. Either or both of the when or by attributes
MUST be present; it is invalid to have neither.
setWhen
public void setWhen(java.util.Date when)
- Set the date-time when the modification took place.
getBy
public java.lang.String getBy()
- Provides access to a text attribute identifying the unique endpoint that made a modification. This SHOULD be
some combination of user and device (so that a given user can edit a feed on multiple devices). This attribute is
used programmatically to break ties in case two changes happened at the same time (within the same second).
Either or both of the when or by must be present; it is invalid to have neither.
setBy
public void setBy(java.lang.String by)
- Sets a text attribute identifying the unique endpoint that made a modification.