Package org.apache.abdera.model
Interface Category
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
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
Modifier and TypeMethodDescriptiongetLabel()Deprecated.RFC4287: The "label" attribute provides a human-readable label for display in end-user applications.Deprecated.RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme.getTerm()Deprecated.RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs.Deprecated.RFC4287: The "label" attribute provides a human-readable label for display in end-user applications.Deprecated.RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme.Deprecated.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.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeToMethods 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, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setTextMethods inherited from interface org.apache.abdera.model.ExtensibleElement
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtensionMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getTerm
String getTerm()Deprecated.RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs. Category elements MUST have a "term" attribute.- Returns:
- The string value of the term attribute
-
setTerm
Deprecated.RFC4287: The "term" attribute is a string that identifies the category to which the entry or feed belongs. Category elements MUST have a "term" attribute.- Parameters:
term- The string value of the term attribute
-
getScheme
IRI getScheme()Deprecated.RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme. Category elements MAY have a "scheme" attribute.- Returns:
- The IRI value of the scheme attribute
-
setScheme
Deprecated.RFC4287: The "scheme" attribute is an IRI that identifies a categorization scheme. Category elements MAY have a "scheme" attribute.- Parameters:
scheme- The IRI of the scheme
-
getLabel
String getLabel()Deprecated.RFC4287: 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.- Returns:
- The value of the human-readable label
-
setLabel
Deprecated.RFC4287: 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.- Parameters:
label- The value of the human-readable label
-