Web::DOM::AtomPersonConstruct
The DOM AtomPersonConstruct object
DESCRIPTION
The Web::DOM::AtomPersonConstruct class implements the DOM AtomPersonConstruct interface.
The class is used by several Atom elements.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::AtomElement, the following method is available:
$string = $el->email$el->email ($string)-
Return or set the value of the
atom:emailchild element. [ATOMDOM] $string = $el->name$el->name ($string)-
Return or set the value of the
atom:namechild element. [ATOMDOM] $el2 = $el->name_element-
Return the
atom:nameelement child, if any. [ATOMDOM]If the
manakai-create-child-elementconfiguration parameter is set to true and there is noatom:nameelement child, a new element is created and returned. Otherwise, no element is created andundefis returned. $url = $el->uri$el->uri ($url)-
Return or set the value of the
atom:urichild element. The method returns the resoloved absolute URL if the value is a relative URL. [ATOMDOM]
There are subclasses for specific elements: Web::DOM::AtomAuthorElement and Web::DOM::AtomContributorElement.
SPECIFICATION
- ATOMDOM
-
Atom DOM
<http://suika.suikawiki.org/www/markup/xml/atomdom>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.