int size = attributes.getLength(); for (int i = 0; i < size; i++) { String key = attributes.getQName(i); String value = attributes.getValue(i);  if (key.equals(ParserConstants.CLASS_ATTRIBUTE)) { implementation.setClassname(value); continue; } root.logError("unrecognized implementation element attribute: " + key); }
processAttributes(attributes);
	ImplementationElement(ParserHandler root, ComponentElement parent, Attributes attributes) {		this.root = root;		this.parent = parent;		implementation = new ImplementationDescription();		int size = attributes.getLength();		for (int i = 0; i < size; i++) {			String key = attributes.getQName(i);			String value = attributes.getValue(i);			if (key.equals(ParserConstants.CLASS_ATTRIBUTE)) {				implementation.setClassname(value);				continue;			}			root.logError("unrecognized implementation element attribute: " + key);		}		if (implementation.getClassname() == null) {			root.logError("implementation class not specified");		}	}