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:idchild element. [ATOMDOM] -
Return a Web::DOM::HTMLCollection containing the
atom:authorelement childs. [ATOMDOM] $col = $el->category_elements-
Return a Web::DOM::HTMLCollection containing the
atom:categoryelement childs. [ATOMDOM] $el2 = $el->content_element-
Return the
atom:contentelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:contentelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $col = $el->contributor_elements-
Return a Web::DOM::HTMLCollection containing the
atom:contributorelement childs. [ATOMDOM] -
Return a Web::DOM::HTMLCollection containing the
atom:authorelements applied to this element. [ATOMDOM] $el2 = $el->entry_rights_element-
Return the
atom:rightselement applied to this element, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:rightselement applied to this element, a new element child is created and returned. Otherwise, no element is created andundefis returned. $col = $el->link_elements-
Return a Web::DOM::HTMLCollection containing the
atom:linkelement childs. [ATOMDOM] $el2 = $el->published_element-
Return the
atom:publishedelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:publishedelement child, a new element is created and returned. Otherwise, no element is created andundefis returned.See also "DEPENDENCY" in Web::DOM.
$el2 = $el->rights_element-
Return the
atom:rightselement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:rightselement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $el2 = $el->source_element-
Return the
atom:sourceelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:sourceelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $el2 = $el->summary_element-
Return the
atom:summaryelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:summaryelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $col = $el->thread_in_reply_to_elements-
Return a Web::DOM::HTMLCollection containing the
thr:in-reply-toelement childs. [ATOMDOM] $el2 = $el->title_element-
Return the
atom:titleelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:titleelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $el2 = $el->updated_element-
Return the
atom:updatedelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:updatedelement child, a new element is created and returned. Otherwise, no element is created andundefis 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
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.