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

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

public class Entry
extends Element

Represents an atom entry 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 Pattern IS_TEXT_MEDIA_TYPE
           
protected  List m_authors
           
protected  List m_categories
           
protected  List m_contributors
           
protected  Content m_entryContent
           
protected  Element m_id
           
protected  List m_links
           
protected  Date m_published
           
protected  Text m_rights
           
protected  Source m_source
           
protected  Text m_summary
           
protected  Text m_title
           
protected  Date m_updated
           
protected static Pattern RE_TITLE_FROM_URL
           
 
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
Entry()
           
Entry(Object o)
           
 
Method Summary
 void enforceConformance()
          Execute any additional logic needed to make this element conform to the atom (or other) spec.
 List getAuthors()
           
 List getCategories()
           
 List getContributors()
           
 Content getEntryContent()
           
 Element getId()
           
 List getLinks()
           
 Date getPublished()
           
 Text getRights()
           
 Source getSource()
           
 Text getSummary()
           
 Text getTitle()
           
 Date getUpdated()
           
protected  Element.ElementContentType printContent(PrintWriter out, int tabs)
          Prints the content for this element.
 void setAuthors(List authors)
           
 void setCategories(List categories)
           
 void setContributors(List contributors)
           
 void setEntryContent(Content content)
           
 void setId(Element id)
           
 void setLinks(List links)
           
protected  void setProperties(IContentProvider provider, Collection keys)
          Set the normalized properties of this element.
 void setPublished(Date published)
           
 void setRights(Text rights)
           
 void setSource(Source source)
           
 void setSummary(Text summary)
           
 void setTitle(Text title)
           
 void setUpdated(Date updated)
           
 
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, printStartTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setContent, setLang, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IS_TEXT_MEDIA_TYPE

public static final Pattern IS_TEXT_MEDIA_TYPE

RE_TITLE_FROM_URL

protected static final Pattern RE_TITLE_FROM_URL

m_authors

protected List m_authors

m_categories

protected List m_categories

m_entryContent

protected Content m_entryContent

m_contributors

protected List m_contributors

m_id

protected Element m_id

m_links

protected List m_links

m_published

protected Date m_published

m_rights

protected Text m_rights

m_source

protected Source m_source

m_summary

protected Text m_summary

m_title

protected Text m_title

m_updated

protected Date m_updated
Constructor Detail

Entry

public Entry()

Entry

public Entry(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 Element

setProperties

protected void setProperties(IContentProvider provider,
                             Collection keys)
Description copied from class: Element
Set the normalized properties of this element.

Overrides:
setProperties 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 Element

getAuthors

public List getAuthors()

setAuthors

public void setAuthors(List authors)

getCategories

public List getCategories()

setCategories

public void setCategories(List categories)

getEntryContent

public Content getEntryContent()

setEntryContent

public void setEntryContent(Content content)

getContributors

public List getContributors()

setContributors

public void setContributors(List contributors)

getId

public Element getId()

setId

public void setId(Element id)

getLinks

public List getLinks()

setLinks

public void setLinks(List links)

getPublished

public Date getPublished()

setPublished

public void setPublished(Date published)

getRights

public Text getRights()

setRights

public void setRights(Text rights)

getSource

public Source getSource()

setSource

public void setSource(Source source)

getSummary

public Text getSummary()

setSummary

public void setSummary(Text summary)

getTitle

public Text getTitle()

setTitle

public void setTitle(Text title)

getUpdated

public Date getUpdated()

setUpdated

public void setUpdated(Date updated)