Lizzy v1.1.1

christophedelory.rss
Class Category

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

public class Category
extends Object

Includes the item in one or more categories.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Category()
           
 
Method Summary
 String getDomain()
          Returns a string that identifies a categorization taxonomy.
 String getValue()
          Returns a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy.
 void setDomain(String domain)
          Initializes the string that identifies a categorization taxonomy.
 void setValue(String value)
          Initializes the forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Method Detail

getValue

public String getValue()
Returns a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories. Examples: "Grateful Dead", "MSFT", "1765". No default value.

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

setValue

public void setValue(String value)
Initializes the forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy.

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

getDomain

public String getDomain()
Returns a string that identifies a categorization taxonomy. Examples: "http://www.fool.com/cusips", "Syndic8". No default value.

Returns:
the category domain. May be null.
See Also:
setDomain(java.lang.String)

setDomain

public void setDomain(String domain)
Initializes the string that identifies a categorization taxonomy.

Parameters:
domain - the category domain. May be null.
See Also:
getDomain()

© 2008-2009 Christophe Delory

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