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:email
child element. [ATOMDOM] $string = $el->name
$el->name ($string)
-
Return or set the value of the
atom:name
child element. [ATOMDOM] $el2 = $el->name_element
-
Return the
atom:name
element child, if any. [ATOMDOM]If the
manakai-create-child-element
configuration parameter is set to true and there is noatom:name
element child, a new element is created and returned. Otherwise, no element is created andundef
is returned. $url = $el->uri
$el->uri ($url)
-
Return or set the value of the
atom:uri
child 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.