com.colorful.atom
Class Category
java.lang.Object
com.colorful.atom.Category
public class Category
- extends java.lang.Object
This class represents an Atom 1.0 category.
- Author:
- Bill Brown
atomCategory =
element atom:category {
atomCommonAttributes,
attribute term { text },
attribute scheme { atomUri }?,
attribute label { text }?,
undefinedContent
- See Also:
- Atom Syndication Format
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAttributes
public java.util.List<Attribute> getAttributes()
- Returns:
- the category attribute list.
getLabel
public Attribute getLabel()
- Returns:
- the label attribute
getScheme
public Attribute getScheme()
- Returns:
- the scheme attribute
getTerm
public Attribute getTerm()
- Returns:
- the term attribute
getContent
public java.lang.String getContent()
- Returns:
- undefined text content or undefined element.