public class Entry extends Element
Element.ElementContentType, Element.Property
Modifier and Type | Field and Description |
---|---|
static Pattern |
IS_TEXT_MEDIA_TYPE |
protected List<Person> |
m_authors |
protected List<Category> |
m_categories |
protected List<Person> |
m_contributors |
protected Content |
m_entryContent |
protected Element |
m_id |
protected List<Link> |
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<Person> |
getAuthors() |
List<Category> |
getCategories() |
List<Person> |
getContributors() |
Content |
getEntryContent() |
Element |
getId() |
List<Link> |
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<Person> authors) |
void |
setCategories(List<Category> categories) |
void |
setContributors(List<Person> contributors) |
void |
setEntryContent(Content content) |
void |
setId(Element id) |
void |
setLinks(List<Link> 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 Content m_entryContent
protected Element m_id
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 Content getEntryContent()
public void setEntryContent(Content content)
public Element getId()
public void setId(Element id)
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)