Lines Matching refs:Attribute
47 * When the BasicAttributes class needs to create an Attribute, it
82 transient Hashtable<String,Attribute> attrs = new Hashtable<>(11);
150 attrset.attrs = (Hashtable<String,Attribute>)attrs.clone();
162 public Attribute get(String attrID) {
163 Attribute attr = attrs.get(
168 public NamingEnumeration<Attribute> getAll() {
176 public Attribute put(String attrID, Object val) {
180 public Attribute put(Attribute attr) {
188 public Attribute remove(String attrID) {
215 * same attributes. Each {@code Attribute} in this {@code BasicAttributes}
217 * be overridden by implementations of {@code Attribute}).
237 Attribute their, mine;
241 their = (Attribute)theirs.next();
285 * (an int), and then the individual Attribute objects.
291 Enumeration<Attribute> attrEnum = attrs.elements();
305 ? new Hashtable<String,Attribute>(n * 2)
306 : new Hashtable<String,Attribute>(2); // can't have initial size of 0 (grrr...)
308 put((Attribute)s.readObject());
313 class AttrEnumImpl implements NamingEnumeration<Attribute> {
315 Enumeration<Attribute> elements;
325 public Attribute nextElement() {
333 public Attribute next() throws NamingException {
344 Enumeration<Attribute> elements;
357 Attribute attr = elements.nextElement();