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.INTERFACE_ATTRIBUTE)) { provide.setInterfacename(value); continue; } root.logError("unrecognized provide element attribute: " + key); }
processAttributes(attributes);
	ProvideElement(ParserHandler root, ServiceElement parent, Attributes attributes) {		this.root = root;		this.parent = parent;		provide = new ProvideDescription();		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.INTERFACE_ATTRIBUTE)) {				provide.setInterfacename(value);				continue;			}			root.logError("unrecognized provide element attribute: " + key);		}		if (provide.getInterfacename() == null) {			root.logError("provide interface not specified");		}	}