| 1 |
elmex |
1.1 |
package Net::XMPP2::DataForm; |
| 2 |
|
|
use Net::XMPP2::Namespaces qw/xmpp_ns/; |
| 3 |
|
|
|
| 4 |
|
|
=head1 NAME |
| 5 |
|
|
|
| 6 |
elmex |
1.2 |
Net::XMPP2::DataForm - XEP-0004 DataForm |
| 7 |
elmex |
1.1 |
|
| 8 |
|
|
=head1 SYNOPSIS |
| 9 |
|
|
|
| 10 |
|
|
package foo; |
| 11 |
|
|
|
| 12 |
|
|
=head1 DESCRIPTION |
| 13 |
|
|
|
| 14 |
|
|
This module represents a Data Form as specified in XEP-0004. |
| 15 |
|
|
|
| 16 |
|
|
=head1 METHODS |
| 17 |
|
|
|
| 18 |
|
|
=over 4 |
| 19 |
|
|
|
| 20 |
|
|
=item B<new (%args)> |
| 21 |
|
|
|
| 22 |
|
|
=cut |
| 23 |
|
|
|
| 24 |
|
|
sub new { |
| 25 |
|
|
my $this = shift; |
| 26 |
|
|
my $class = ref($this) || $this; |
| 27 |
|
|
my $self = bless { @_ }, $class; |
| 28 |
|
|
$self->init; |
| 29 |
|
|
$self |
| 30 |
|
|
} |
| 31 |
|
|
|
| 32 |
|
|
sub init { |
| 33 |
|
|
my ($self) = @_; |
| 34 |
|
|
} |
| 35 |
|
|
|
| 36 |
|
|
=back |
| 37 |
|
|
|
| 38 |
|
|
=head1 AUTHOR |
| 39 |
|
|
|
| 40 |
|
|
Robin Redeker, C<< <elmex at ta-sa.org> >>, JID: C<< <elmex at jabber.org> >> |
| 41 |
|
|
|
| 42 |
|
|
=head1 COPYRIGHT & LICENSE |
| 43 |
|
|
|
| 44 |
|
|
Copyright 2007 Robin Redeker, all rights reserved. |
| 45 |
|
|
|
| 46 |
|
|
This program is free software; you can redistribute it and/or modify it |
| 47 |
|
|
under the same terms as Perl itself. |
| 48 |
|
|
|
| 49 |
|
|
=cut |
| 50 |
|
|
|
| 51 |
|
|
1; |