public class SimpleCategoryInfo extends java.lang.Object implements CategoryInfo, java.io.Serializable
| Constructor and Description |
|---|
SimpleCategoryInfo(java.lang.String term) |
SimpleCategoryInfo(java.lang.String term,
java.lang.String scheme) |
SimpleCategoryInfo(java.lang.String term,
java.lang.String scheme,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
Category |
asCategoryElement(RequestContext request)
Convert this into an instance of the FOM Category interface
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLabel(RequestContext request)
Return the value of the atom:category label attribute or null if the
label should be omitted.
|
java.lang.String |
getScheme(RequestContext request)
Return the value of the atom:category scheme attribute or null if the
scheme should be omitted
|
java.lang.String |
getTerm(RequestContext request)
Return the value of the atom:category term attribute.
|
int |
hashCode() |
public SimpleCategoryInfo(java.lang.String term)
public SimpleCategoryInfo(java.lang.String term,
java.lang.String scheme)
public SimpleCategoryInfo(java.lang.String term,
java.lang.String scheme,
java.lang.String label)
public java.lang.String getLabel(RequestContext request)
CategoryInfogetLabel in interface CategoryInfopublic java.lang.String getScheme(RequestContext request)
CategoryInfogetScheme in interface CategoryInfopublic java.lang.String getTerm(RequestContext request)
CategoryInfogetTerm in interface CategoryInfopublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Category asCategoryElement(RequestContext request)
CategoryInfoasCategoryElement in interface CategoryInfoCopyright © 2010 - 2019 Adobe. All Rights Reserved