public class Entry extends Element
Element.ElementContentType, Element.Property
Modifier and Type | Field and Description |
---|---|
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 |
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
Modifier and Type | Method and Description |
---|---|
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) |
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
public static final Pattern IS_TEXT_MEDIA_TYPE
protected static final Pattern RE_TITLE_FROM_URL
protected List m_authors
protected List m_categories
protected Content m_entryContent
protected List m_contributors
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
public Entry()
public Entry(Object o)
public void enforceConformance()
Element
enforceConformance
in class Element
protected void setProperties(IContentProvider provider, Collection keys)
Element
setProperties
in class Element
protected Element.ElementContentType printContent(PrintWriter out, int tabs)
Element
printContent
in class Element
public List getAuthors()
public void setAuthors(List authors)
public List getCategories()
public void setCategories(List categories)
public Content getEntryContent()
public void setEntryContent(Content content)
public List getContributors()
public void setContributors(List contributors)
public Element getId()
public void setId(Element id)
public List getLinks()
public void setLinks(List links)
public Date getPublished()
public void setPublished(Date published)
public Text getRights()
public void setRights(Text rights)
public Source getSource()
public void setSource(Source source)
public Text getSummary()
public void setSummary(Text summary)
public Text getTitle()
public void setTitle(Text title)
public Date getUpdated()
public void setUpdated(Date updated)