com.colorful.atom
Class Content

java.lang.Object
  extended by com.colorful.atom.Content

public class Content
extends java.lang.Object

This class represents an Atom 1.0 content element.

Author:
Bill Brown
      atomInlineTextContent =
          element atom:content {
          atomCommonAttributes,
          attribute type { "text" | "html" }?,
          (text)*
          }

      atomInlineXHTMLContent =
          element atom:content {
          atomCommonAttributes,
          attribute type { "xhtml" },
          xhtmlDiv
          }

      atomInlineOtherContent =
          element atom:content {
          atomCommonAttributes,
          attribute type { atomMediaType }?,
          (text|anyElement)*
          }

      atomOutOfLineContent =
          element atom:content {
          atomCommonAttributes,
          attribute type { atomMediaType }?,
          attribute src { atomUri },
          empty
          }
          
      atomContent = atomInlineTextContent
          | atomInlineXHTMLContent
          | atomInlineOtherContent
          | atomOutOfLineContent
  
See Also:
Atom Syndication Format

Method Summary
 java.util.List<Attribute> getAttributes()
           
 java.lang.String getContent()
           
 
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 attributes for this element.

getContent

public java.lang.String getContent()
Returns:
the content for this element.