|
||||||||||
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 java.lang.String |
label
|
protected java.lang.String |
scheme
|
protected java.lang.String |
term
|
Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes |
---|
base, lang |
Constructor Summary | |
---|---|
AtomCategory()
|
|
AtomCategory(SyndCategory value)
|
Method Summary | |
---|---|
java.lang.String |
getLabel()
Gets the value of label. |
java.lang.String |
getScheme()
Gets the value of scheme. |
java.lang.String |
getTerm()
Gets the value of term. |
void |
setLabel(java.lang.String value)
Sets the value of label. |
void |
setScheme(java.lang.String value)
Sets the value of scheme. |
void |
setTerm(java.lang.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 java.lang.String term
protected java.lang.String scheme
protected java.lang.String label
Constructor Detail |
---|
public AtomCategory()
public AtomCategory(SyndCategory value)
Method Detail |
---|
public SyndCategory toSynd(SyndCategory value)
public java.lang.String getTerm()
public void setTerm(java.lang.String value)
public java.lang.String getScheme()
public void setScheme(java.lang.String value)
public java.lang.String getLabel()
public void setLabel(java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |