Package org.apache.juneau.dto.atom
Class Category
java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Category
Represents an atomCategory construct in the RFC4287 specification.
Schema
atomCategory = element atom:category { atomCommonAttributes, attribute term { text }, attribute scheme { atomUri }?, attribute label { text }?, undefinedContent }
See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Category
Normal constructor.- Parameters:
term
- The category term.
-
Category
public Category()Bean constructor.
-
-
Method Details
-
getTerm
Bean property getter:term .The category term.
- Returns:
- The property value, or
null if it is not set.
-
setTerm
Bean property setter:term .The category term.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getScheme
Bean property getter:scheme .The category scheme.
- Returns:
- The property value, or
null if it is not set.
-
setScheme
Bean property setter:scheme .The category scheme.
The value can be of any of the following types:
URI
,URL
,String
. Strings must be valid URIs.- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
getLabel
Bean property getter:label .The category label.
- Returns:
- The property value, or
null if it is not set.
-
setLabel
Bean property setter:scheme .The category label.
- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
setBase
Description copied from class:Common
-
setLang
Description copied from class:Common
Bean property setter:lang .The language of this object.
-