String function ( JID arg0 ) { return getUserName ( arg0 , arg0 . toString ( ) ) ; }
returns the name of the xmpp entity . if the entity is a local user then the user 's name will be returned . however , if the user is not a local user then check if there exists a usernameprovider that provides name for the specified domain . if none was found then the vcard of the entity might be requested and if none was found then a string representation of the entity 's jid will be returned . concode_field_sep XMPPServer server concode_elem_sep Map<String,UserNameProvider> providersByDomain concode_field_sep void addUserNameProvider concode_elem_sep void removeUserNameProvider