Lines Matching defs:attributes
31 * existing account information. XMPP servers may require a number of attributes to be set
32 * when creating a new account. The standard account attributes are as follows:
54 private Map<String, String> attributes = new HashMap<String,String>();
80 * Returns the map of String key/value pairs of account attributes.
82 * @return the account attributes.
85 return attributes;
89 * Sets the account attributes. The map must only contain String key/value pairs.
91 * @param attributes the account attributes.
93 public void setAttributes(Map<String, String> attributes) {
94 this.attributes = attributes;
102 attributes.put(key, value);
114 return attributes.get(key);
118 return new ArrayList<String>(attributes.keySet());
122 attributes.put("username", username);
126 attributes.put("password", password);
139 if (attributes != null && attributes.size() > 0 && !remove) {
140 for (String name : attributes.keySet()) {
141 String value = attributes.get(name);