public class SimpleCategoriesInfo extends java.lang.Object implements CategoriesInfo, java.io.Serializable
| Constructor and Description |
|---|
SimpleCategoriesInfo() |
SimpleCategoriesInfo(boolean fixed) |
SimpleCategoriesInfo(java.lang.String href) |
SimpleCategoriesInfo(java.lang.String scheme,
boolean fixed,
CategoryInfo... categories) |
| Modifier and Type | Method and Description |
|---|---|
SimpleCategoriesInfo |
addCategoryInfo(CategoryInfo... categories) |
Categories |
asCategoriesElement(RequestContext request)
Convert this into an instance of the FOM Categories interface
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHref(RequestContext request)
Return the value of the app:categories element href attribute or null
if the href should be omitted
|
java.lang.String |
getScheme(RequestContext request)
Return the value of the app:categories element scheme attribute or
null if the scheme should be omitted
|
int |
hashCode() |
boolean |
isFixed(RequestContext request)
Return true of the app:categories element fixed attribute should be set
|
java.util.Iterator<CategoryInfo> |
iterator() |
SimpleCategoriesInfo |
setCategoryInfo(CategoryInfo... categories) |
public SimpleCategoriesInfo()
public SimpleCategoriesInfo(boolean fixed)
public SimpleCategoriesInfo(java.lang.String href)
public SimpleCategoriesInfo(java.lang.String scheme,
boolean fixed,
CategoryInfo... categories)
public java.lang.String getHref(RequestContext request)
CategoriesInfogetHref in interface CategoriesInfopublic java.lang.String getScheme(RequestContext request)
CategoriesInfogetScheme in interface CategoriesInfopublic boolean isFixed(RequestContext request)
CategoriesInfoisFixed in interface CategoriesInfopublic java.util.Iterator<CategoryInfo> iterator()
iterator in interface java.lang.Iterable<CategoryInfo>public SimpleCategoriesInfo addCategoryInfo(CategoryInfo... categories)
public SimpleCategoriesInfo setCategoryInfo(CategoryInfo... categories)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Categories asCategoriesElement(RequestContext request)
CategoriesInfoasCategoriesElement in interface CategoriesInfoCopyright © 2010 - 2019 Adobe. All Rights Reserved