com.webmethods.caf.faces.data.export.atom
Class Feed

java.lang.Object
  extended by com.webmethods.caf.faces.data.export.atom.Element
      extended by com.webmethods.caf.faces.data.export.atom.Source
          extended by com.webmethods.caf.faces.data.export.atom.Feed

public class Feed
extends Source

Represents an atom feed element.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.faces.data.export.atom.Element
Element.ElementContentType, Element.Property
 
Field Summary
static String GENERATOR_URI
           
static String GENERATOR_VERSION
           
protected  List m_entries
           
protected static Pattern RE_TITLE_FROM_URL
           
 
Fields inherited from class com.webmethods.caf.faces.data.export.atom.Source
m_authors, m_categories, m_contributors, m_generator, m_icon, m_id, m_links, m_logo, m_rights, m_subtitle, m_title, m_updated
 
Fields inherited from class com.webmethods.caf.faces.data.export.atom.Element
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
 
Constructor Summary
Feed()
           
Feed(Object o)
           
 
Method Summary
 void enforceConformance()
          Execute any additional logic needed to make this element conform to the atom (or other) spec.
 List getEntries()
           
protected  Element.ElementContentType printContent(PrintWriter out, int tabs)
          Prints the content for this element.
protected  void printStartTag(PrintWriter out, int tabs)
          Prints the start tag for this element.
 void setEntries(List entries)
           
 
Methods inherited from class com.webmethods.caf.faces.data.export.atom.Source
getAuthors, getCategories, getContributors, getGenerator, getIcon, getId, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, setAuthors, setCategories, setContent, setContributors, setGenerator, setIcon, setId, setLinks, setLogo, setProperties, setRights, setSubtitle, setTitle, setUpdated
 
Methods inherited from class com.webmethods.caf.faces.data.export.atom.Element
enforceChildrenConformance, enforceChildrenConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, initialize, multipleValues, printAttribute, printChildren, printChildren, printChildren, printEndTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setLang, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GENERATOR_URI

public static final String GENERATOR_URI
See Also:
Constant Field Values

GENERATOR_VERSION

public static final String GENERATOR_VERSION
See Also:
Constant Field Values

RE_TITLE_FROM_URL

protected static final Pattern RE_TITLE_FROM_URL

m_entries

protected List m_entries
Constructor Detail

Feed

public Feed()

Feed

public Feed(Object o)
Method Detail

enforceConformance

public void enforceConformance()
Description copied from class: Element
Execute any additional logic needed to make this element conform to the atom (or other) spec.

Overrides:
enforceConformance in class Source

printStartTag

protected void printStartTag(PrintWriter out,
                             int tabs)
Description copied from class: Element
Prints the start tag for this element. Includes open bracket, tag name, and attributes, but not close bracket (">").

Overrides:
printStartTag in class Element

printContent

protected Element.ElementContentType printContent(PrintWriter out,
                                                  int tabs)
Description copied from class: Element
Prints the content for this element. Includes close bracket for start tag (">"), if needed, child elements, and textual content.

Overrides:
printContent in class Source

getEntries

public List getEntries()

setEntries

public void setEntries(List entries)