public interface Category extends ExtensibleElement
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
}
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel()
RFC4287: The "label" attribute provides a human-readable label for display in end-user applications.
|
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.
|
Category |
setLabel(java.lang.String label)
RFC4287: The "label" attribute provides a human-readable label for display in end-user applications.
|
Category |
setScheme(java.lang.String scheme)
RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme.
|
Category |
setTerm(java.lang.String term)
RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs.
|
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtensiondeclareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setTextjava.lang.String getTerm()
Category setTerm(java.lang.String term)
term - The string value of the term attributeIRI getScheme()
Category setScheme(java.lang.String scheme)
scheme - The IRI of the schemejava.lang.String getLabel()
Category setLabel(java.lang.String label)
label - The value of the human-readable labelCopyright © 2010 - 2023 Adobe. All Rights Reserved