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.SERVICEFACTORY_ATTRIBUTE)) { service.setServicefactory(value.equalsIgnoreCase("true")); continue; } root.logError("unrecognized service element attribute: " + key); }
processAttributes(attributes);
	public ServiceElement(ParserHandler root, ComponentElement parent, Attributes attributes) {		this.root = root;		this.parent = parent;		service = new ServiceDescription();		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.SERVICEFACTORY_ATTRIBUTE)) {				service.setServicefactory(value.equalsIgnoreCase("true"));				continue;			}			root.logError("unrecognized service element attribute: " + key);		}	}