Interface Entry
Represents an Atom Entry element.
Per RFC4287:
The "atom:entry" element represents an individual entry, acting as a
container for metadata and data associated with the entry. This
element can appear as a child of the atom:feed element, or it can
appear as the document (i.e., top-level) element of a stand-alone
Atom Entry Document.
atomEntry =
element atom:entry {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
}
This specification assigns no significance to the order of appearance
of the child elements of atom:entry.
The following child elements are defined by this specification (note
that it requires the presence of some of these elements):
o atom:entry elements MUST contain one or more atom:author elements,
unless the atom:entry contains an atom:source element that
contains an atom:author element or, in an Atom Feed Document, the
atom:feed element contains an atom:author element itself.
o atom:entry elements MAY contain any number of atom:category
elements.
o atom:entry elements MUST NOT contain more than one atom:content
element.
o atom:entry elements MAY contain any number of atom:contributor
elements.
o atom:entry elements MUST contain exactly one atom:id element.
o atom:entry elements that contain no child atom:content element
MUST contain at least one atom:link element with a rel attribute
value of "alternate".
o atom:entry elements MUST NOT contain more than one atom:link
element with a rel attribute value of "alternate" that has the
same combination of type and hreflang attribute values.
o atom:entry elements MAY contain additional atom:link elements
beyond those described above.
o atom:entry elements MUST NOT contain more than one atom:published
element.
o atom:entry elements MUST NOT contain more than one atom:rights
element.
o atom:entry elements MUST NOT contain more than one atom:source
element.
o atom:entry elements MUST contain an atom:summary element in either
of the following cases:
* the atom:entry contains an atom:content that has a "src"
attribute (and is thus empty).
* the atom:entry contains content that is encoded in Base64;
i.e., the "type" attribute of atom:content is a MIME media type
[MIMEREG], but is not an XML media type [RFC3023], does not
begin with "text/", and does not end with "/xml" or "+xml".
o atom:entry elements MUST NOT contain more than one atom:summary
element.
o atom:entry elements MUST contain exactly one atom:title element.
o atom:entry elements MUST contain exactly one atom:updated element.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Adds an authorDeprecated.Adds an authorDeprecated.Adds an individual author to the entryaddCategory(String term) Deprecated.Adds a category to the entryaddCategory(String scheme, String term, String label) Deprecated.Adds a category to the entryaddCategory(Category category) Deprecated.Adds an individual category to the entryaddContributor(String name) Deprecated.Adds a contributoraddContributor(String name, String email, String uri) Deprecated.Adds an authoraddContributor(Person person) Deprecated.Adds an individual contributor to this entryDeprecated.Deprecated.Add a link to the entryDeprecated.Add a link to the entryDeprecated.Add a link to the entryDeprecated.Adds an individual link to the entryDeprecated.Returns this entries first alternate linkgetAlternateLink(String type, String hreflang) Deprecated.Returns the first alternate link matching the specified type and hreflangDeprecated.Return a link href resolved against the in-scope Base URIgetAlternateLinkResolvedHref(String type, String hreflang) Deprecated.Return a link href resolved against the in-scope Base URIDeprecated.Returns the first author listed for the entryDeprecated.Returns the complete set of authors listed for the entryDeprecated.Lists the complete set of categories listed for the entrygetCategories(String scheme) Deprecated.Lists the complete set of categories using the specified scheme A listing of atom:category elements using the specified schemeDeprecated.Returns the text of the content elementDeprecated.Returns the content for this entryjavax.activation.MimeTypeDeprecated.Returns the media type of the content type or null if type equals 'text', 'html' or 'xhtml'Deprecated.Returns the content/@src attribute, if anyDeprecated.Returns an input stream from the content element value.Deprecated.Returns the content typeDeprecated.Lists the complete set of contributors for this entryDeprecated.Returns this entries Atom Publishing Protocol control elementgetControl(boolean create) Deprecated.Returns this entries Atom Publishing Protocol control element.Deprecated.Return the value of app:editedDeprecated.APP Introduces a new app:edited element whose value changes every time the entry is updatedDeprecated.Returns this entries first edit linkDeprecated.Return a link href resolved against the in-scope Base URIDeprecated.Returns this entries first edit-media link (if any)getEditMediaLink(String type, String hreflang) Deprecated.Returns the first edit-media link matching the specified type and hreflangDeprecated.Return a link href resolved against the in-scope Base URIgetEditMediaLinkResolvedHref(String type, String hreflang) Deprecated.Return a link href resolved against the in-scope Base URIDeprecated.Returns this entries first enclosure linkDeprecated.Return a link href resolved against the in-scope Base URIgetId()Deprecated.Returns the universally unique identifier for this entryDeprecated.Returns the universally unique identifier for this entryDeprecated.Returns the first link with the specified rel attribute valueDeprecated.Return a link href resolved against the in-scope Base URIgetLinks()Deprecated.Lists the complete set of links for this entryDeprecated.Lists the complete set of links using the specified rel attribute valueDeprecated.Lists the complete set of links using the specified rel attributes valuesDeprecated.Return the value of the atom:published elementDeprecated.RFC4287: The "atom:published" element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry...Deprecated.Return the String value of the atom:rights elementDeprecated.The rights element is typically used to convey a human readable copyright (e.g.Deprecated.Return the @type of the atom:rights elementDeprecated.Returns this entries first self linkDeprecated.Return a link href resolved against the in-scope Base URIDeprecated.Returns the source element for this entry.Deprecated.Returns the text string value of this summaryDeprecated.RFC4287: The "atom:summary" element is a Text construct that conveys a short summary, abstract, or excerpt of an entry...Deprecated.Returns the summary typegetTitle()Deprecated.Returns the text string value of the title elementDeprecated.RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed.Deprecated.Returns the @type of this entries titleDeprecated.Return atom:updatedDeprecated.RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant.booleanisDraft()Deprecated.Returns true if this entry is a draftnewId()Deprecated.Creates a new randomized atom:id for the entrysetContent(InputStream inputStream) Deprecated.Sets the content for this entrysetContent(InputStream inputStream, String mediatype) Deprecated.Sets the content for this entrysetContent(String value) Deprecated.Sets the content for this entry as @type="text"setContent(String value, String mediatype) Deprecated.Sets the content for this entrysetContent(String value, Content.Type type) Deprecated.Sets the content for this entrysetContent(javax.activation.DataHandler dataHandler) Deprecated.Sets the content for this entrysetContent(javax.activation.DataHandler dataHandler, String mediatype) Deprecated.Sets the content for this entrysetContent(IRI uri, String mediatype) Deprecated.Sets the content for this entry as out of line.setContent(Element value) Deprecated.Sets the content for this entrysetContent(Element element, String mediaType) Deprecated.Sets the content for this entrysetContentAsHtml(String value) Deprecated.Sets the content for this entry as @type="html"setContentAsXhtml(String value) Deprecated.Sets the content for this entry as @type="xhtml"setContentElement(Content content) Deprecated.Sets the content for this entrysetControl(Control control) Deprecated.Sets this entries Atom Publishing Protocol control elementsetDraft(boolean draft) Deprecated.Sets whether or not this entry is a draftDeprecated.Set the value of app:editedDeprecated.Set the value of app:editedvoidsetEditedElement(DateTime modified) Deprecated.Set the app:edited elementDeprecated.Sets the universally unique identifier for this entryDeprecated.Sets the universally unique identifier for this entryDeprecated.Sets the universally unique identifier for this entrysetPublished(String value) Deprecated.Set the value of the atom:published element using the serialized string valuesetPublished(Date value) Deprecated.Set the value of the atom:published elementsetPublishedElement(DateTime dateTime) Deprecated.RFC4287: The "atom:published" element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry...Deprecated.Sets the value of the rights as @type="text"Deprecated.Sets the value of the rightsDeprecated.Sets the value of the right as @type="xhtml"setRightsAsHtml(String value) Deprecated.Sets the value of the rights as @type="html".setRightsAsXhtml(String value) Deprecated.Sets the value of the rights as @type="xhtml"setRightsElement(Text text) Deprecated.The rights element is typically used to convey a human readable copyright (e.g.Deprecated.Returns the source element for this entry.setSummary(String value) Deprecated.Sets the value of the summary as @type="text"setSummary(String value, Text.Type type) Deprecated.Sets the value of the summarysetSummary(Div value) Deprecated.Sets the value of the summary as @type="xhtml"setSummaryAsHtml(String value) Deprecated.Sets the value of the summary as @type="html"setSummaryAsXhtml(String value) Deprecated.Sets the value of the summary as @type="xhtml"setSummaryElement(Text text) Deprecated.RFC4287: The "atom:summary" element is a Text construct that conveys a short summary, abstract, or excerpt of an entry...Deprecated.Sets the value of the title as @type="text"Deprecated.Sets the value of the titleDeprecated.Sets the value of the title as @type="xhtml"setTitleAsHtml(String value) Deprecated.Sets the value of the title as @type="html"setTitleAsXhtml(String value) Deprecated.Sets the value of the title as @type="xhtml"setTitleElement(Text title) Deprecated.RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed.setUpdated(String value) Deprecated.Set the atom:updated valuesetUpdated(Date value) Deprecated.Set the atom:updated valuesetUpdatedElement(DateTime updated) Deprecated.RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant.Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeToMethods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setTextMethods inherited from interface org.apache.abdera.model.ExtensibleElement
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtensionMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getAuthor
Person getAuthor()Deprecated.Returns the first author listed for the entry- Returns:
- The atom:author
-
getAuthors
Deprecated.Returns the complete set of authors listed for the entry- Returns:
- The listing of atom:author elements
-
addAuthor
Deprecated.Adds an individual author to the entry- Parameters:
person- The person to add
-
addAuthor
Deprecated.Adds an author- Parameters:
name- The name of the author- Returns:
- The newly created atom:author element
-
addAuthor
Deprecated.Adds an author- Parameters:
name- The name of the authoremail- The author's email addressuri- A URI belonging to the author- Returns:
- The newly created atom:author element
-
getCategories
Deprecated.Lists the complete set of categories listed for the entry- Returns:
- The listing of atom:category elements
-
getCategories
Deprecated.Lists the complete set of categories using the specified scheme A listing of atom:category elements using the specified scheme -
addCategory
Deprecated.Adds an individual category to the entry- Parameters:
category- The atom:category element to add
-
addCategory
Deprecated.Adds a category to the entry- Parameters:
term- The category term to add- Returns:
- The newly created atom:category
-
addCategory
Deprecated.Adds a category to the entry- Parameters:
scheme- The category schemeterm- The category termlabel- The human readable label- Returns:
- The newly create atom:category
-
getContentElement
Content getContentElement()Deprecated.Returns the content for this entry- Returns:
- The atom:content element
-
setContentElement
Deprecated.Sets the content for this entry- Parameters:
content- The atom:content element
-
setContent
Deprecated.Sets the content for this entry as @type="text"- Parameters:
value- The text value of the content- Returns:
- The newly created atom:content
-
setContentAsHtml
Deprecated.Sets the content for this entry as @type="html"- Parameters:
value- The text value of the content. Special characters will be escaped (e.g. & will become &)- Returns:
- The newly created atom:content
-
setContentAsXhtml
Deprecated.Sets the content for this entry as @type="xhtml"- Parameters:
value- The text value of the content. The text will be parsed as XHTML- Returns:
- The newly created atom:content
-
setContent
Deprecated.Sets the content for this entry- Parameters:
value- The text value of the contenttype- The Content Type of the text- Returns:
- The newly created atom:content
-
setContent
Deprecated.Sets the content for this entry- Parameters:
value- The content element value. If the value is a Div, the the type attribute will be set to type="xhtml", otherwise type="application/xml"- Returns:
- The newly create atom:content
-
setContent
Deprecated.Sets the content for this entry- Parameters:
element- The element valuemediaType- The media type of the element
-
setContent
Deprecated.Sets the content for this entry- Parameters:
dataHandler- The Data Handler containing the binary content needing Base64 encoding.
-
setContent
Deprecated.Sets the content for this entry- Parameters:
dataHandler- The Data Handler containing the binary content needing Base64 encoding.mediaType- The mediatype of the binary content- Returns:
- The created content element
-
setContent
Deprecated.Sets the content for this entry- Parameters:
inputStream- An inputstream providing binary content- Returns:
- The created content element
-
setContent
Deprecated.Sets the content for this entry- Parameters:
inputStream- An inputstream providing binary contentmediaType- The mediatype of the binary content- Returns:
- The created content element
-
setContent
Deprecated.Sets the content for this entry- Parameters:
value- the string value of the contentmediatype- the media type for the content- Returns:
- The newly created atom:content
-
setContent
Deprecated.Sets the content for this entry as out of line.- Parameters:
uri- URI of the content (value of the "src" attribute).mediatype- Type of the content.- Returns:
- The new content element.
-
getContent
String getContent()Deprecated.Returns the text of the content element- Returns:
- text content
-
getContentStream
Deprecated.Returns an input stream from the content element value. This is particularly useful when dealing with Base64 binary content.- Throws:
IOException
-
getContentSrc
IRI getContentSrc()Deprecated.Returns the content/@src attribute, if any- Returns:
- The src IRI
-
getContentType
Content.Type getContentType()Deprecated.Returns the content type- Returns:
- The content type
-
getContentMimeType
javax.activation.MimeType getContentMimeType()Deprecated.Returns the media type of the content type or null if type equals 'text', 'html' or 'xhtml'- Returns:
- The content media type
-
getContributors
Deprecated.Lists the complete set of contributors for this entry- Returns:
- The listing of atom:contributor elements
-
addContributor
Deprecated.Adds an individual contributor to this entry- Parameters:
person- The atom:contributor element
-
addContributor
Deprecated.Adds a contributor- Parameters:
name- The contributor name- Returns:
- The newly created atom:contributor
-
addContributor
Deprecated.Adds an author- Parameters:
name- The contributor nameemail- The contributor's email addressuri- The contributor's URI- Returns:
- The newly created atom:contributor
-
getIdElement
IRIElement getIdElement()Deprecated.Returns the universally unique identifier for this entry- Returns:
- The atom:id element
-
setIdElement
Deprecated.Sets the universally unique identifier for this entry- Parameters:
id- The atom:id element
-
getId
IRI getId()Deprecated.Returns the universally unique identifier for this entry -
setId
Deprecated.Sets the universally unique identifier for this entry- Parameters:
id- The atom:id value- Returns:
- The newly created atom:id element
-
newId
IRIElement newId()Deprecated.Creates a new randomized atom:id for the entry -
setId
Deprecated.Sets the universally unique identifier for this entry- Parameters:
id- The atom:id valuenormalize- true if the atom:id value should be normalized as called for by RFC4287- Returns:
- The newly created atom:id element
-
getLinks
Deprecated.Lists the complete set of links for this entry- Returns:
- The listing of atom:link elements
-
getLinks
Deprecated.Lists the complete set of links using the specified rel attribute value- Parameters:
rel- The rel attribute value to look for- Returns:
- The listing of atom:link element's with the rel attribute
-
getLinks
Deprecated.Lists the complete set of links using the specified rel attributes values- Parameters:
rels- A listing of link relations- Returns:
- A listof atom:link elements
-
addLink
Deprecated.Adds an individual link to the entry- Parameters:
link- the atom:link to add
-
addLink
Deprecated.Add a link to the entry- Parameters:
href- The IRI of the link- Returns:
- The newly created atom:link
-
addLink
Deprecated.Add a link to the entry- Parameters:
href- The IRI of the linkrel- The link rel attribute- Returns:
- The newly created atom:link
-
addLink
Deprecated.Add a link to the entry- Parameters:
href- The IRI of the linkrel- The link rel attributetype- The media type of the linkhreflang- The language of the targetlength- The length of the resource- Returns:
- The newly created atom:link
-
getPublishedElement
DateTime getPublishedElement()Deprecated.RFC4287: The "atom:published" element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry... Typically, atom:published will be associated with the initial creation or first availability of the resource.- Returns:
- The atom:published element
-
setPublishedElement
Deprecated.RFC4287: The "atom:published" element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry... Typically, atom:published will be associated with the initial creation or first availability of the resource.- Parameters:
dateTime- the atom:published element
-
getPublished
Date getPublished()Deprecated.Return the value of the atom:published element- Returns:
- a java.util.Date for the atom:published value
-
setPublished
Deprecated.Set the value of the atom:published element- Parameters:
value- The java.util.Date- Returns:
- The newly created atom:published element
-
setPublished
Deprecated.Set the value of the atom:published element using the serialized string value- Parameters:
value- The serialized date- Returns:
- The newly created atom:published element
-
getRightsElement
Text getRightsElement()Deprecated.The rights element is typically used to convey a human readable copyright (e.g. "<atom:rights>Copyright (c), 2006</atom:rights>).
RFC4287: The "atom:rights" element is a Text construct that conveys information about rights held in and over an entry or feed.
- Returns:
- The atom:rights element
-
setRightsElement
Deprecated.The rights element is typically used to convey a human readable copyright (e.g. "<atom:rights>Copyright (c), 2006</atom:rights>).
RFC4287: The "atom:rights" element is a Text construct that conveys information about rights held in and over an entry or feed.
- Parameters:
text- The atom:rights element
-
setRights
Deprecated.Sets the value of the rights as @type="text"- Parameters:
value- The text value of the atom:rights element- Returns:
- The newly created atom:rights element
-
setRightsAsHtml
Deprecated.Sets the value of the rights as @type="html". Special characters like invalid input: '&' will be automatically escaped- Parameters:
value- The text value of the atom:rights element.- Returns:
- The newly created atom:rights element
-
setRightsAsXhtml
Deprecated.Sets the value of the rights as @type="xhtml"- Parameters:
value- The text value of the atom:rights element- Returns:
- The newly created atom:rights element
-
setRights
Deprecated.Sets the value of the rights- Parameters:
value- The text value of the atom:rights elementtype- The text type- Returns:
- The newly create atom:rights element
-
setRights
Deprecated.Sets the value of the right as @type="xhtml"- Parameters:
value- The XHTML div for the atom:rights element- Returns:
- The newly created atom:rights element
-
getRights
String getRights()Deprecated.Return the String value of the atom:rights element- Returns:
- The text value of the atom:rights element
-
getRightsType
Text.Type getRightsType()Deprecated.Return the @type of the atom:rights element- Returns:
- The Text.Type of the atom:rights element
-
getSource
Source getSource()Deprecated.Returns the source element for this entry.
RFC4287: If an atom:entry is copied from one feed into another feed, then the source atom:feed's metadata (all child elements of atom:feed other than the atom:entry elements) MAY be preserved within the copied entry by adding an atom:source child element, if it is not already present in the entry, and including some or all of the source feed's Metadata elements as the atom:source element's children. Such metadata SHOULD be preserved if the source atom:feed contains any of the child elements atom:author, atom:contributor, atom:rights, or atom:category and those child elements are not present in the source atom:entry.
- Returns:
- The atom:source element
-
setSource
Deprecated.Returns the source element for this entry.
RFC4287: If an atom:entry is copied from one feed into another feed, then the source atom:feed's metadata (all child elements of atom:feed other than the atom:entry elements) MAY be preserved within the copied entry by adding an atom:source child element, if it is not already present in the entry, and including some or all of the source feed's Metadata elements as the atom:source element's children. Such metadata SHOULD be preserved if the source atom:feed contains any of the child elements atom:author, atom:contributor, atom:rights, or atom:category and those child elements are not present in the source atom:entry.
- Parameters:
source- The atom:source element
-
getSummaryElement
Text getSummaryElement()Deprecated.RFC4287: The "atom:summary" element is a Text construct that conveys a short summary, abstract, or excerpt of an entry... It is not advisable for the atom:summary element to duplicate atom:title or atom:content because Atom Processors might assume there is a useful summary when there is none.- Returns:
- The atom:summary element
-
setSummaryElement
Deprecated.RFC4287: The "atom:summary" element is a Text construct that conveys a short summary, abstract, or excerpt of an entry... It is not advisable for the atom:summary element to duplicate atom:title or atom:content because Atom Processors might assume there is a useful summary when there is none.- Parameters:
text- The atom:summary element
-
setSummary
Deprecated.Sets the value of the summary as @type="text"- Parameters:
value- The text value of the atom:summary element- Returns:
- the newly created atom:summary element
-
setSummaryAsHtml
Deprecated.Sets the value of the summary as @type="html"- Parameters:
value- The text value of the atom:summary element- Returns:
- the newly created atom:summary element
-
setSummaryAsXhtml
Deprecated.Sets the value of the summary as @type="xhtml"- Parameters:
value- The text value of the atom:summary element- Returns:
- the newly created atom:summary element
-
setSummary
Deprecated.Sets the value of the summary- Parameters:
value- The text value of the atom:summary elementtype- The Text.Type of the atom:summary element- Returns:
- The newly created atom:summary element
-
setSummary
Deprecated.Sets the value of the summary as @type="xhtml"- Parameters:
value- The XHTML div- Returns:
- the newly created atom:summary element
-
getSummary
String getSummary()Deprecated.Returns the text string value of this summary- Returns:
- the text value of the atom:summary
-
getSummaryType
Text.Type getSummaryType()Deprecated.Returns the summary type- Returns:
- the Text.Type of the atom:summary
-
getTitleElement
Text getTitleElement()Deprecated.RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed.- Returns:
- the atom:title element
-
setTitleElement
Deprecated.RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed.- Parameters:
title- the atom:title element
-
setTitle
Deprecated.Sets the value of the title as @type="text"- Parameters:
value- The title value- Returns:
- The newly created atom:title element
-
setTitleAsHtml
Deprecated.Sets the value of the title as @type="html"- Parameters:
value- The title value- Returns:
- The newly created atom:title element
-
setTitleAsXhtml
Deprecated.Sets the value of the title as @type="xhtml"- Parameters:
value- The title value- Returns:
- The newly created atom:title element
-
setTitle
Deprecated.Sets the value of the title- Parameters:
value- The title valuetype- The Text.Type of the title- Returns:
- the newly created atom:title element
-
setTitle
Deprecated.Sets the value of the title as @type="xhtml"- Parameters:
value- The XHTML div- Returns:
- the newly created atom:title element
-
getTitle
String getTitle()Deprecated.Returns the text string value of the title element- Returns:
- text value of the atom:title
-
getTitleType
Text.Type getTitleType()Deprecated.Returns the @type of this entries title- Returns:
- the Text.Type of the atom:title
-
getUpdatedElement
DateTime getUpdatedElement()Deprecated.RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant. Therefore, not all modifications necessarily result in a changed atom:updated value.- Returns:
- the atom:updated element
-
setUpdatedElement
Deprecated.RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant. Therefore, not all modifications necessarily result in a changed atom:updated value.- Parameters:
updated- the atom:updated element.
-
getUpdated
Date getUpdated()Deprecated.Return atom:updated- Returns:
- A java.util.Date value
-
setUpdated
Deprecated.Set the atom:updated value- Parameters:
value- The new value- Returns:
- The newly created atom:updated element
-
setUpdated
Deprecated.Set the atom:updated value- Parameters:
value- The new value- Returns:
- The newly created atom:updated element
-
getEditedElement
DateTime getEditedElement()Deprecated.APP Introduces a new app:edited element whose value changes every time the entry is updated- Returns:
- the app:edited element
-
setEditedElement
Deprecated.Set the app:edited element- Parameters:
modified- The app:edited element
-
getEdited
Date getEdited()Deprecated.Return the value of app:edited- Returns:
- app:edited
-
setEdited
Deprecated.Set the value of app:edited- Parameters:
value- The java.util.Date value- Returns:
- The newly created app:edited element
-
setEdited
Deprecated.Set the value of app:edited- Parameters:
value- the serialized string value for app:edited- Returns:
- The newly created app:edited element
-
getControl
Deprecated.Returns this entries Atom Publishing Protocol control element. A new control element will be created if one currently does not exist- Returns:
- The app:control element
-
getControl
Control getControl()Deprecated.Returns this entries Atom Publishing Protocol control element- Returns:
- The app:control element
-
setControl
Deprecated.Sets this entries Atom Publishing Protocol control element- Parameters:
control- The app:contorl element
-
setDraft
Deprecated.Sets whether or not this entry is a draft- Parameters:
draft- true if this entry should be marked as a draft
-
isDraft
boolean isDraft()Deprecated.Returns true if this entry is a draft- Returns:
- True if this entry is a date
-
getLink
Deprecated.Returns the first link with the specified rel attribute value- Parameters:
rel- The link rel- Returns:
- a Link with the specified rel attribute
-
getAlternateLink
Link getAlternateLink()Deprecated.Returns this entries first alternate link- Returns:
- the Alternate link
-
getAlternateLink
Deprecated.Returns the first alternate link matching the specified type and hreflang- Parameters:
type- The link media typehreflang- The link target language- Returns:
- The matching atom:link
-
getEnclosureLink
Link getEnclosureLink()Deprecated.Returns this entries first enclosure link- Returns:
- the Enclosure link
-
getEditLink
Link getEditLink()Deprecated.Returns this entries first edit link- Returns:
- the Edit Link
-
getEditMediaLink
Link getEditMediaLink()Deprecated.Returns this entries first edit-media link (if any)- Returns:
- the Edit Media Link
-
getEditMediaLink
Deprecated.Returns the first edit-media link matching the specified type and hreflang- Parameters:
type- a media typehreflang- a target language- Returns:
- A matching atom:link element
-
getSelfLink
Link getSelfLink()Deprecated.Returns this entries first self link- Returns:
- the Self Link
-
getLinkResolvedHref
Deprecated.Return a link href resolved against the in-scope Base URI- Parameters:
rel- The rel attribute value- Returns:
- The resolved IRI
-
getAlternateLinkResolvedHref
IRI getAlternateLinkResolvedHref()Deprecated.Return a link href resolved against the in-scope Base URI- Returns:
- The resolved IRI
-
getAlternateLinkResolvedHref
Deprecated.Return a link href resolved against the in-scope Base URI- Parameters:
type- A target typehreflang- A target language- Returns:
- The resolved IRI
-
getEnclosureLinkResolvedHref
IRI getEnclosureLinkResolvedHref()Deprecated.Return a link href resolved against the in-scope Base URI- Returns:
- The resolved IRI
-
getEditLinkResolvedHref
IRI getEditLinkResolvedHref()Deprecated.Return a link href resolved against the in-scope Base URI- Returns:
- The resolved IRI
-
getEditMediaLinkResolvedHref
IRI getEditMediaLinkResolvedHref()Deprecated.Return a link href resolved against the in-scope Base URI- Returns:
- The resolved IRI
-
getEditMediaLinkResolvedHref
Deprecated.Return a link href resolved against the in-scope Base URI- Parameters:
type- A target typehreflang- A target language- Returns:
- The resolved IRI
-
getSelfLinkResolvedHref
IRI getSelfLinkResolvedHref()Deprecated.Return a link href resolved against the in-scope Base URI- Returns:
- The resolved IRI
-
addControl
Control addControl()Deprecated.
-