com.colorful.atom
Class Category

java.lang.Object
  extended by 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

Method Summary
 java.util.List<Attribute> getAttributes()
           
 java.lang.String getContent()
           
 Attribute getLabel()
           
 Attribute getScheme()
           
 Attribute getTerm()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.