|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.GUID
public class GUID
GUID stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new. There are no rules for the syntax of a guid. Aggregators must view them as a string. It's up to the source of the feed to establish the uniqueness of the string.
Constructor Summary | |
---|---|
GUID()
|
Method Summary | |
---|---|
String |
getValue()
Returns a string that uniquely identifies the item. |
boolean |
isPermaLink()
Says that this GUID is a permanent link or not. |
void |
setPermaLink(boolean isPermaLink)
Specifies that this GUID is a permanent link or not. |
void |
setValue(String value)
Initializes the string that uniquely identifies the item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GUID()
Method Detail |
---|
public String getValue()
null
if not yet initialized.setValue(java.lang.String)
public void setValue(String value)
value
- a GUID value. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
public boolean isPermaLink()
true
, the reader may assume that it is a permalink to the item, that is, an url that can be opened in a Web browser, that points to the full item described by the item
element.
If its value is false
, the guid may not be assumed to be an url, or an url to anything in particular.
Example: "true".
Defaults to true
.
setPermaLink(boolean)
public void setPermaLink(boolean isPermaLink)
isPermaLink
- the permalink indicator.isPermaLink()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |