@Override
public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
{
super.attributes(o, elementName, element, attrs, nsCtx);
DomainBeanMetaDataFactory bean = (DomainBeanMetaDataFactory)o;
for (int i = 0; i < attrs.getLength(); ++i)
{
String localName = attrs.getLocalName(i);
if ("parentFirst".equals(localName))
{
bean.setParentFirst(attrs.getValue(i));
}
else if ("inheritDefinitions".equals(localName))
{
bean.setInheritDefinitions(attrs.getValue(i));
}
else if ("inheritBindings".equals(localName))
{
bean.setInheritBindings(attrs.getValue(i));
}
else if ("extends".equals(localName))
{
bean.setExtends(attrs.getValue(i));
}
}
}