Web::DOM::AtomSourceElement
DOM AtomSourceElement object
DESCRIPTION
The Web::DOM::AtomSourceElement class implements the DOM AtomSourceElement interface.
The class is used by the Atom source 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] $col = $el->contributor_elements-
Return a Web::DOM::HTMLCollection containing the
atom:contributorelement childs. [ATOMDOM] $el2 = $el->generator_element-
Return the
atom:generatorelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:generatorelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $url = $el->icon$el->icon ($url)-
Return or set the value of the
atom:iconchild element. The method returns the resoloved absolute URL if the value is a relative URL. [ATOMDOM] $col = $el->link_elements-
Return a Web::DOM::HTMLCollection containing the
atom:linkelement childs. [ATOMDOM] $url = $el->logo$el->logo ($url)-
Return or set the value of the
atom:logochild element. The method returns the resoloved absolute URL if the value is a relative URL. [ATOMDOM] $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->subtitle_element-
Return the
atom:subtitleelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:subtitleelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $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 value 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.