Web::DOM::AtomContentElement
The DOM AtomContentElement
object
DESCRIPTION
The Web::DOM::AtomContentElement
class implements the DOM AtomContentElement
interface.
The class is used by the Atom content
element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::AtomElement, the following method is available:
$el2 = $el->container
-
Return the container element for the text value. If the
type
attribute value isxhtml
, it returns the HTMLdiv
element child. Otherwise, if the element has thesrc
attribute, is returnundef
. Otherwise, it returns the element itself. [ATOMDOM]If the
manakai-create-child-element
configuration parameter is set to true, the HTMLdiv
element child is created by the method and then returned when it does not exist. Otherwise, no element is created andundef
is returned. $string = $el->src
$el->src ($string)
-
Return or set the
src
attribute. [ATOMDOM] $string = $el->type
$el->type ($string)
-
Return or set the
type
attribute. [ATOMDOM]
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.