The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Protocol::Yadis::Document::Service::Element - Protocol::Yadis::Document::Service element object

SYNOPSIS

    my $e = Protocol::Yadis::Document::Service::Element->new;

    $e->name('Type');
    $e->attrs([a => 'b', c => 'd']);
    $e->content('foo');

    # <Type a="b" c="d">foo</Type>

DESCRIPTION

This is an element object for Protocol::Yadis::Document::Service.

ATTRIBUTES

name

Element name.

content

Element content.

METHODS

new

Creates a new Protocol::Yadis::Document::Service::Element instance.

attrs

Sets/gets element attributes.

attr

Sets/gets element attribute.

to_string

String representation.

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tykhanovskyi.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.