public AttributeList getAttributes(String[] names) { AttributeList list = new AttributeList(); for(int n = 0; n < names.length; n ++) { String name = names[n]; try { Object value = getAttribute(name); Attribute attr = new Attribute(name, value); list.add(attr); } catch(Exception e) { } } return list; }
public AttributeList getAttributes(String[] names) { AttributeList list = new AttributeList(); for(int n = 0; n < names.length; n ++) { String name = names[n]; try { Object value = getAttribute(name); Attribute attr = new Attribute(name, value); list.add(attr); } catch(Exception e) { } } return list; }