/** * Returns the value of a given account attribute or <tt>null</tt> if the account * attribute wasn't found. * * @param name the name of the account attribute to return its value. * @return the value of the account attribute or <tt>null</tt> if an account * attribute wasn't found for the requested name. */ public String getAccountAttribute(String name) { try { if (info == null) { getRegistrationInfo(); } return (String) info.getAttributes().get(name); } catch (XMPPException xe) { } return null; }
getRegistrationInfo(); Map attributes = info.getAttributes(); if (attributes != null) { return attributes.keySet().iterator();
/** * Returns the value of a given account attribute or <tt>null</tt> if the account * attribute wasn't found. * * @param name the name of the account attribute to return its value. * @return the value of the account attribute or <tt>null</tt> if an account * attribute wasn't found for the requested name. */ public String getAccountAttribute(String name) { try { if (info == null) { getRegistrationInfo(); } return info.getAttributes().get(name); } catch (XMPPException xe) { xe.printStackTrace(); } return null; }
/** * Returns the value of a given account attribute or <tt>null</tt> if the account * attribute wasn't found. * * @param name the name of the account attribute to return its value. * @return the value of the account attribute or <tt>null</tt> if an account * attribute wasn't found for the requested name. */ public String getAccountAttribute(String name) { try { if (info == null) { getRegistrationInfo(); } return info.getAttributes().get(name); } catch (XMPPException xe) { xe.printStackTrace(); } return null; }
/** * Returns the value of a given account attribute or <tt>null</tt> if the account * attribute wasn't found. * * @param name the name of the account attribute to return its value. * @return the value of the account attribute or <tt>null</tt> if an account * attribute wasn't found for the requested name. */ public String getAccountAttribute(String name) { try { if (info == null) { getRegistrationInfo(); } return info.getAttributes().get(name); } catch (XMPPException xe) { xe.printStackTrace(); } return null; }
getRegistrationInfo(); Map<String, String> attributes = info.getAttributes(); if (attributes != null) { return Collections.unmodifiableSet(attributes.keySet());
getRegistrationInfo(); Map<String, String> attributes = info.getAttributes(); if (attributes != null) { return Collections.unmodifiableSet(attributes.keySet());
getRegistrationInfo(); Map<String, String> attributes = info.getAttributes(); if (attributes != null) { return Collections.unmodifiableSet(attributes.keySet());