The manakai project

Web::DOM::AtomEntryElement

DOM AtomEntryElement object

DESCRIPTION

The Web::DOM::AtomEntryElement class implements the DOM AtomEntryElement interface. The class is used by the Atom entry element.

METHODS

In addition to the methods for classes Web::DOM::Element and Web::DOM::AtomElement, following methods are available:

$string = $el->atom_id
$el->atom_id ($string)

Return or set the value of the atom:id child element. [ATOMDOM]

$col = $el->author_elements

Return a Web::DOM::HTMLCollection containing the atom:author element childs. [ATOMDOM]

$col = $el->category_elements

Return a Web::DOM::HTMLCollection containing the atom:category element childs. [ATOMDOM]

$el2 = $el->content_element

Return the atom:content element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:content element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

$col = $el->contributor_elements

Return a Web::DOM::HTMLCollection containing the atom:contributor element childs. [ATOMDOM]

$col = $el->entry_author_elements

Return a Web::DOM::HTMLCollection containing the atom:author elements applied to this element. [ATOMDOM]

$el2 = $el->entry_rights_element

Return the atom:rights element applied to this element, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:rights element applied to this element, a new element child is created and returned. Otherwise, no element is created and undef is returned.

Return a Web::DOM::HTMLCollection containing the atom:link element childs. [ATOMDOM]

$el2 = $el->published_element

Return the atom:published element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:published element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

See also "DEPENDENCY" in Web::DOM.

$el2 = $el->rights_element

Return the atom:rights element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:rights element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

$el2 = $el->source_element

Return the atom:source element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:source element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

$el2 = $el->summary_element

Return the atom:summary element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:summary element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

$col = $el->thread_in_reply_to_elements

Return a Web::DOM::HTMLCollection containing the thr:in-reply-to element childs. [ATOMDOM]

$el2 = $el->title_element

Return the atom:title element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:title element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

$el2 = $el->updated_element

Return the atom:updated element child, if any. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true and there is no atom:updated element child, a new element is created and returned. Otherwise, no element is created and undef is returned.

See also "DEPENDENCY" in Web::DOM.

DEPENDENCY

For the updated_element method, the perl-web-datetime package <https://github.com/manakai/perl-web-datetime> is required.

SPECIFICATION

ATOMDOM

Atom DOM <http://suika.suikawiki.org/www/markup/xml/atomdom>.

SEE ALSO

Web::DOM::AtomElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013-2014 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.