public class Categories extends Object
Category
elements.Constructor and Description |
---|
Categories() |
Categories(org.jdom2.Element e,
String baseURI)
Load select from XML element
|
Modifier and Type | Method and Description |
---|---|
void |
addCategory(Category cat)
Add category list of those specified
|
org.jdom2.Element |
categoriesToElement() |
List<Category> |
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.jdom2.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
|
public Categories()
public Categories(org.jdom2.Element e, String baseURI)
public void addCategory(Category cat)
public List<Category> 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.jdom2.Element categoriesToElement()
protected void parseCategoriesElement(org.jdom2.Element catsElem)
Copyright © 2017. All rights reserved.