}
public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
{
Holder holder = (Holder) o;
Ctor ctor = (Ctor) holder.getValue();
Common.Constructor constructor = ctor.getConstructor();
for (int i = 0; i < attrs.getLength(); ++i)
{
String localName = attrs.getLocalName(i);
if ("factoryClass".equals(localName))
constructor.setFactoryClass(attrs.getValue(i));
else if ("factoryMethod".equals(localName))
constructor.setFactoryMethod(attrs.getValue(i));
}
if( constructor.getFactoryMethod() != null && constructor.getFactoryClass() == null )
constructor.setFactoryClass(ctor.getClassName());
}