Lizzy v1.1.1

christophedelory.rss
Class GUID

java.lang.Object
  extended by christophedelory.rss.GUID

public class GUID
extends Object

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.

Version:
$Revision: 92 $
Author:
Christophe Delory

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

GUID

public GUID()
Method Detail

getValue

public String getValue()
Returns a string that uniquely identifies the item. Examples: "http://some.server.com/weblogItem3207", "http://inessential.com/2002/09/01.php#a2". No default value.

Returns:
the GUID value. May be null if not yet initialized.
See Also:
setValue(java.lang.String)

setValue

public void setValue(String value)
Initializes the string that uniquely identifies the item.

Parameters:
value - a GUID value. Shall not be null.
Throws:
NullPointerException - if value is null.
See Also:
getValue()

isPermaLink

public boolean isPermaLink()
Says that this GUID is a permanent link or not. If this attribute has a value of 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.

Returns:
the permalink indicator.
See Also:
setPermaLink(boolean)

setPermaLink

public void setPermaLink(boolean isPermaLink)
Specifies that this GUID is a permanent link or not.

Parameters:
isPermaLink - the permalink indicator.
See Also:
isPermaLink()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.