View Source Excalt.Vcard.AddressbookHandler (Excalt v0.1.2)

Handler for parsing the addressbooks from the server.

Link to this section Summary

Link to this section Functions

Link to this function

append_content_type_and_version(current_addressbook, content_type, version)

View Source
Link to this function

handle_event(atom, content, addressbooks)

View Source

Callback implementation for Saxy.Handler.handle_event/3.

Link to this function

update_current_addressbook(bool, field, addressbooks, content)

View Source
@spec update_current_addressbook(boolean(), atom(), List.t(), String.t()) ::
  []
  | [
      %Excalt.Vcard.Addressbook{
        content_types: term(),
        description: term(),
        name: term(),
        url: term(),
        versions: term()
      }
    ]
Link to this function

update_current_addressbook(current_tag, regex, field, addressbooks, content)

View Source

Updates current addressbooks based on the if xml_element exists.