com.sun.syndication.propono.atom.common
Class Categories

java.lang.Object
  extended by com.sun.syndication.propono.atom.common.Categories

public class Categories
extends Object

Models an Atom protocol Categories element, which may contain ROME Atom Category elements.


Constructor Summary
Categories()
           
 
Method Summary
 void addCategory(Category cat)
          Add category list of those specified
 List getCategories()
          Iterate over Category objects
 String getScheme()
          Category URI scheme to use for Categories without a scheme
 boolean isFixed()
          True if clients MUST use one of the categories specified
 void setFixed(boolean fixed)
          True if clients MUST use one of the categories specified
 void setScheme(String scheme)
          Category URI scheme to use for Categories without a scheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Categories

public Categories()
Method Detail

addCategory

public void addCategory(Category cat)
Add category list of those specified


getCategories

public List getCategories()
Iterate over Category objects

Returns:
List of ROME Atom Category

isFixed

public boolean isFixed()
True if clients MUST use one of the categories specified


setFixed

public void setFixed(boolean fixed)
True if clients MUST use one of the categories specified


getScheme

public String getScheme()
Category URI scheme to use for Categories without a scheme


setScheme

public void setScheme(String scheme)
Category URI scheme to use for Categories without a scheme