The manakai project

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 is xhtml, it returns the HTML div element child. Otherwise, if the element has the src attribute, is return undef. Otherwise, it returns the element itself. [ATOMDOM]

If the manakai-create-child-element configuration parameter is set to true, the HTML div element child is created by the method and then returned when it does not exist. Otherwise, no element is created and undef 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

Web::DOM::AtomElement.

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.