|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Category
Provides categorization informaton for a feed or entry
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 }
Method Summary | |
---|---|
java.lang.String |
getLabel()
RFC4287: The "label" attribute provides a human-readable label for display in end-user applications. |
org.apache.abdera.i18n.iri.IRI |
getScheme()
RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme. |
java.lang.String |
getTerm()
RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs. |
void |
setLabel(java.lang.String label)
RFC4287: The "label" attribute provides a human-readable label for display in end-user applications. |
void |
setScheme(java.lang.String scheme)
RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme. |
void |
setTerm(java.lang.String term)
RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs. |
Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
---|
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension |
Methods inherited from interface org.apache.abdera.model.Element |
---|
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
addComment, clone, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
Method Detail |
---|
java.lang.String getTerm()
void setTerm(java.lang.String term)
term
- The string value of the term attributeorg.apache.abdera.i18n.iri.IRI getScheme()
IRISyntaxException
- if the scheme IRI is malformedvoid setScheme(java.lang.String scheme)
scheme
- The IRI of the scheme
URISyntaxException
- if the scheme provided is malformedjava.lang.String getLabel()
void setLabel(java.lang.String label)
label
- The value of the human-readable label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |