Timothy Appnel > XML-Atom-Syndication > XML::Atom::Syndication::Text

Download:
XML-Atom-Syndication-0.942.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  3
View/Report Bugs
Source  

NAME ^

XML::Atom::Syndication::Text - class representing an Atom text construct

DESCRIPTION ^

A Text construct contains human-readable text, usually in small quantities. Its content (body) is Language-Sensitive.

METHODS ^

XML::Atom::Syndication::Text is a subclass of XML::Atom::Syndication:::Object that it inherits a number of methods from. You should already be familiar with this base class before proceeding.

All of these accessors return a string. You can set these elements by passing in an optional string.

body

An accessor to the text itself.

type

The format of the text. The value of type may be one "text", "html", or "xhtml". Unlike the type attribute in the content element, this attribute MAY NOT be a MIME type. If undefined "text" should be assumed.

AUTHOR & COPYRIGHT ^

Please see the XML::Atom::Syndication manpage for author, copyright, and license information.

syntax highlighting: