Class SimpleCategoryInfo
- java.lang.Object
-
- org.apache.abdera.protocol.server.impl.SimpleCategoryInfo
-
- All Implemented Interfaces:
Serializable,CategoryInfo
@Deprecated public class SimpleCategoryInfo extends Object implements CategoryInfo, Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleCategoryInfo(String term)Deprecated.SimpleCategoryInfo(String term, String scheme)Deprecated.SimpleCategoryInfo(String term, String scheme, String label)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.abdera.model.CategoryasCategoryElement(RequestContext request)Deprecated.Convert this into an instance of the FOM Category interfacebooleanequals(Object obj)Deprecated.StringgetLabel(RequestContext request)Deprecated.Return the value of the atom:category label attribute or null if the label should be omitted.StringgetScheme(RequestContext request)Deprecated.Return the value of the atom:category scheme attribute or null if the scheme should be omittedStringgetTerm(RequestContext request)Deprecated.Return the value of the atom:category term attribute.inthashCode()Deprecated.
-
-
-
Method Detail
-
getLabel
public String getLabel(RequestContext request)
Deprecated.Description copied from interface:CategoryInfoReturn the value of the atom:category label attribute or null if the label should be omitted. This value is language-sensitive- Specified by:
getLabelin interfaceCategoryInfo
-
getScheme
public String getScheme(RequestContext request)
Deprecated.Description copied from interface:CategoryInfoReturn the value of the atom:category scheme attribute or null if the scheme should be omitted- Specified by:
getSchemein interfaceCategoryInfo
-
getTerm
public String getTerm(RequestContext request)
Deprecated.Description copied from interface:CategoryInfoReturn the value of the atom:category term attribute. This value MUST be provided- Specified by:
getTermin interfaceCategoryInfo
-
asCategoryElement
public org.apache.abdera.model.Category asCategoryElement(RequestContext request)
Deprecated.Description copied from interface:CategoryInfoConvert this into an instance of the FOM Category interface- Specified by:
asCategoryElementin interfaceCategoryInfo
-
-