NAME

Protocol::XMPP::ElementBase - base class for Protocol::XMPP XML fragment handling

VERSION

Version 0.006

SYNOPSIS

DESCRIPTION

METHODS

attributes

Access the XML element attributes as key-value pairs.

parent

Accessor for the parent object, if available.

characters

Called when new character data is available. Appends to internal buffer.

end_element

Called when an XML element is terminated.

class_from_element

Returns a class suitable for handling the given element, if we have one.

If we don't have a local handler, returns undef.

INHERITED METHODS

Protocol::XMPP::Base

debug, dispatch_event, is_authorised, is_loggedin, new_future, next_id, stream, write_text, write_xml

Mixin::Event::Dispatch

add_handler_for_event, clear_event_handlers, event_handlers, invoke_event, subscribe_to_event, unsubscribe_from_event

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.