|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.protocol.server.impl.SimpleCollectionInfo
public class SimpleCollectionInfo
Constructor Summary | |
---|---|
SimpleCollectionInfo(String title,
String href,
String... accepts)
|
Method Summary | |
---|---|
void |
addCategoriesInfo(CategoriesInfo... catinfos)
|
Collection |
asCollectionElement(RequestContext request)
Converts this to an instance of the FOM Collection interface |
boolean |
equals(Object obj)
|
String[] |
getAccepts(RequestContext request)
Returns an array of MIME media types for the app:collection element's app:accept elements. |
CategoriesInfo[] |
getCategoriesInfo(RequestContext request)
Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements. |
String |
getHref(RequestContext request)
Get the value of the app:collection element's href attribute. |
String |
getTitle(RequestContext request)
Get the value of the app:collection element's atom:title element. |
int |
hashCode()
|
void |
setCategoriesInfo(CategoriesInfo... catinfos)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCollectionInfo(String title, String href, String... accepts)
Method Detail |
---|
public String[] getAccepts(RequestContext request)
CollectionInfo
getAccepts
in interface CollectionInfo
public String getHref(RequestContext request)
CollectionInfo
getHref
in interface CollectionInfo
public String getTitle(RequestContext request)
CollectionInfo
getTitle
in interface CollectionInfo
public CategoriesInfo[] getCategoriesInfo(RequestContext request)
CollectionInfo
getCategoriesInfo
in interface CollectionInfo
public void addCategoriesInfo(CategoriesInfo... catinfos)
public void setCategoriesInfo(CategoriesInfo... catinfos)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Collection asCollectionElement(RequestContext request)
CollectionInfo
asCollectionElement
in interface CollectionInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |