|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.protocol.server.impl.SimpleCategoryInfo
public class SimpleCategoryInfo
Constructor Summary | |
---|---|
SimpleCategoryInfo(String term)
|
|
SimpleCategoryInfo(String term,
String scheme)
|
|
SimpleCategoryInfo(String term,
String scheme,
String label)
|
Method Summary | |
---|---|
Category |
asCategoryElement(RequestContext request)
Convert this into an instance of the FOM Category interface |
boolean |
equals(Object obj)
|
String |
getLabel(RequestContext request)
Return the value of the atom:category label attribute or null if the label should be omitted. |
String |
getScheme(RequestContext request)
Return the value of the atom:category scheme attribute or null if the scheme should be omitted |
String |
getTerm(RequestContext request)
Return the value of the atom:category term attribute. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCategoryInfo(String term)
public SimpleCategoryInfo(String term, String scheme)
public SimpleCategoryInfo(String term, String scheme, String label)
Method Detail |
---|
public String getLabel(RequestContext request)
CategoryInfo
getLabel
in interface CategoryInfo
public String getScheme(RequestContext request)
CategoryInfo
getScheme
in interface CategoryInfo
public String getTerm(RequestContext request)
CategoryInfo
getTerm
in interface CategoryInfo
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Category asCategoryElement(RequestContext request)
CategoryInfo
asCategoryElement
in interface CategoryInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |