|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.common.model.atom.AtomCommonAttributes org.apache.wink.common.model.atom.AtomCategory
public class AtomCategory
The "atom:category" element Per RFC4287
The "atom:category" element conveys information about a category associated with an entry or feed. This specification assigns no meaning to the content (if any) of this element. atomCategory = element atom:category { atomCommonAttributes, attribute term { text }, attribute scheme { atomUri }?, attribute label { text }?, undefinedContent } o The "term" Attribute The "term" attribute is a string that identifies the category to which the entry or feed belongs. Category elements MUST have a "term" attribute. o The "scheme" Attribute The "scheme" attribute is an IRI that identifies a categorization scheme. Category elements MAY have a "scheme" attribute. o The "label" Attribute The "label" attribute provides a human-readable label for display in end-user applications. The content of the "label" attribute is Language-Sensitive. Entities such as "&" and "<" represent their corresponding characters ("&" and "<", respectively), not markup. Category elements MAY have a "label" attribute.
Field Summary | |
---|---|
protected String |
label
|
protected String |
scheme
|
protected String |
term
|
Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes |
---|
base, lang |
Constructor Summary | |
---|---|
AtomCategory()
|
|
AtomCategory(SyndCategory value)
|
Method Summary | |
---|---|
String |
getLabel()
Gets the value of label. |
String |
getScheme()
Gets the value of scheme. |
String |
getTerm()
Gets the value of term. |
void |
setLabel(String value)
Sets the value of label. |
void |
setScheme(String value)
Sets the value of scheme. |
void |
setTerm(String value)
Sets the value of term. |
SyndCategory |
toSynd(SyndCategory value)
|
Methods inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes |
---|
getBase, getLang, getOtherAttributes, setBase, setLang, toSynd |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String term
protected String scheme
protected String label
Constructor Detail |
---|
public AtomCategory()
public AtomCategory(SyndCategory value)
Method Detail |
---|
public SyndCategory toSynd(SyndCategory value)
public String getTerm()
public void setTerm(String value)
public String getScheme()
public void setScheme(String value)
public String getLabel()
public void setLabel(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |