Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).
jid() = {jid, Orig_Jid, Prepd_Node, Prepd_Domain, Prepd_Resource}
Represents a JID.
jid()
is an internal type and the structure documented
herein may be changed without notice. Please use only the
accessors exported by this module to get each component of a JID.
Prepd_Node
is set to the value of Node
passed through the
NODEPREP stringprep profile.
Prepd_Domain
is set to the value of Domain
passed through the
NAMEPREP stringprep profile.
Prepd_Resource
is set to the value of Resource
passed through the
RESOURCEPREP stringprep profile.
bare/1 | Convert a full JID to its bare version. |
bare_compare/2 | Compare bare JIDs. |
bare_to_binary/1 | Stringify a bare JID. |
bare_to_binary/2 | Stringify a full JID. |
bare_to_list/1 | Stringify a bare JID. |
bare_to_list/2 | Stringify a full JID. |
binary_split/2 | |
compare/2 | Compare full JIDs. |
compare_domains/2 | Compare JID's domain. |
domain/1 | Return the domain part of a JID. |
domain_as_list/1 | Return the domain part of a JID as a list. |
full/2 | Convert a bare JID to its full version. |
full_compare/2 | Compare full JIDs. |
is_jid/1 | Tell if the argument is a JID. |
make/0 | Create a blank JID. |
make/1 |