Class SimpleCollectionInfo
- java.lang.Object
-
- org.apache.abdera.protocol.server.impl.SimpleCollectionInfo
-
- All Implemented Interfaces:
Serializable,CollectionInfo
@Deprecated public class SimpleCollectionInfo extends Object implements CollectionInfo, Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleCollectionInfo(String title, String href, String... accepts)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddCategoriesInfo(CategoriesInfo... catinfos)Deprecated.org.apache.abdera.model.CollectionasCollectionElement(RequestContext request)Deprecated.Converts this to an instance of the FOM Collection interfacebooleanequals(Object obj)Deprecated.String[]getAccepts(RequestContext request)Deprecated.Returns an array of MIME media types for the app:collection element's app:accept elements.CategoriesInfo[]getCategoriesInfo(RequestContext request)Deprecated.Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements.StringgetHref(RequestContext request)Deprecated.Get the value of the app:collection element's href attribute.StringgetTitle(RequestContext request)Deprecated.Get the value of the app:collection element's atom:title element.inthashCode()Deprecated.voidsetCategoriesInfo(CategoriesInfo... catinfos)Deprecated.
-
-
-
Method Detail
-
getAccepts
public String[] getAccepts(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoReturns an array of MIME media types for the app:collection element's app:accept elements. These tell a client which media types the collection will accept on a POST- Specified by:
getAcceptsin interfaceCollectionInfo
-
getHref
public String getHref(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoGet the value of the app:collection element's href attribute. This must not be null- Specified by:
getHrefin interfaceCollectionInfo
-
getTitle
public String getTitle(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoGet the value of the app:collection element's atom:title element. This assumes that the title will be type="text". This must not be null;- Specified by:
getTitlein interfaceCollectionInfo
-
getCategoriesInfo
public CategoriesInfo[] getCategoriesInfo(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoReturn the collection of CategoriesInfo objects for the app:collection element's app:categories elements. These tell a client which atom:category elements are defined for use in the collections atom:entries- Specified by:
getCategoriesInfoin interfaceCollectionInfo
-
addCategoriesInfo
public void addCategoriesInfo(CategoriesInfo... catinfos)
Deprecated.
-
setCategoriesInfo
public void setCategoriesInfo(CategoriesInfo... catinfos)
Deprecated.
-
asCollectionElement
public org.apache.abdera.model.Collection asCollectionElement(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoConverts this to an instance of the FOM Collection interface- Specified by:
asCollectionElementin interfaceCollectionInfo
-
-