/* 350 */ if ("name".equals(localName))
/* 351 */ bean.setName(attrs.getValue(i));
/* 352 */ else if ("class".equals(localName))
/* 353 */ bean.setBean(attrs.getValue(i));
/* 354 */ else if ("mode".equals(localName))
/* 355 */ bean.setMode(new ControllerMode(attrs.getValue(i)));
/* */ }
/* */ }
/* */ });
/* 361 */ TypeBinding beanFactoryType = schemaBinding.getType(beanFactoryTypeQName);
/* 362 */ beanFactoryType.setHandler(new DefaultElementHandler()
/* */ {
/* */ public Object startElement(Object parent, QName name, ElementBinding element)
/* */ {
/* 366 */ return new GenericBeanFactoryMetaData();
/* */ }
/* */
/* */ public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
/* */ {
/* 371 */ GenericBeanFactoryMetaData bean = (GenericBeanFactoryMetaData)o;
/* 372 */ for (int i = 0; i < attrs.getLength(); i++)
/* */ {
/* 374 */ String localName = attrs.getLocalName(i);
/* 375 */ if ("name".equals(localName))
/* 376 */ bean.setName(attrs.getValue(i));
/* 377 */ else if ("class".equals(localName))
/* 378 */ bean.setBeanClass(attrs.getValue(i));
/* 379 */ else if ("mode".equals(localName))
/* 380 */ bean.setMode(new ControllerMode(attrs.getValue(i)));
/* */ }
/* */ }
/* */ });
/* 386 */ beanType.pushInterceptor(classloaderQName, new DefaultElementInterceptor()
/* */ {