|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rometools.propono.atom.common.Categories
public class Categories
Models an Atom protocol Categories element, which may contain ROME Atom
Category
elements.
Constructor Summary | |
---|---|
Categories()
|
|
Categories(org.jdom.Element e,
String baseURI)
Load select from XML element |
Method Summary | |
---|---|
void |
addCategory(com.sun.syndication.feed.atom.Category cat)
Add category list of those specified |
org.jdom.Element |
categoriesToElement()
|
List |
getCategories()
Iterate over Category objects |
String |
getHref()
URI of out-of-line categories |
String |
getHrefResolved()
Get unresolved URI of the collection, or null if impossible to determine |
String |
getScheme()
Category URI scheme to use for Categories without a scheme |
boolean |
isFixed()
True if clients MUST use one of the categories specified |
protected void |
parseCategoriesElement(org.jdom.Element catsElem)
|
void |
setFixed(boolean fixed)
True if clients MUST use one of the categories specified |
void |
setHref(String href)
URI of out-of-line categories |
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 |
---|
public Categories()
public Categories(org.jdom.Element e, String baseURI)
Method Detail |
---|
public void addCategory(com.sun.syndication.feed.atom.Category cat)
public List getCategories()
Category
public boolean isFixed()
public void setFixed(boolean fixed)
public String getScheme()
public void setScheme(String scheme)
public String getHref()
public void setHref(String href)
public String getHrefResolved()
public org.jdom.Element categoriesToElement()
protected void parseCategoriesElement(org.jdom.Element catsElem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |