@Override
public void attributes(Object o, QName elementName, ElementBinding element, Attributes attrs, NamespaceContext nsCtx)
{
AbstractBeanMetaData arrayReplacement = (AbstractBeanMetaData)o;
BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(arrayReplacement);
AspectManagerUtil util = new AspectManagerUtil();
String name = null;
for (int i = 0; i < attrs.getLength(); ++i)
{
String localName = attrs.getLocalName(i);
if ("name".equals(localName))
{
name = attrs.getValue(i);
}
if ("class".equals(localName))
{
builder.addPropertyMetaData("classes", attrs.getValue(i));
}
else if ("expr".equals(localName))
{
builder.addPropertyMetaData("expr", attrs.getValue(i));
}
else if (MANAGER_BEAN_NAME.equals(localName))
{
util.setManagerBean(attrs.getValue(i));
}
else if (MANAGER_PROPERTY_NAME.equals(localName))
{
util.setManagerProperty(attrs.getValue(i));
}
}
util.setAspectManagerProperty(builder, "manager");
if (name == null)
{
name = GUID.asString();
}