{
throw new SAXException("Mandatory element 'column-attributes' is missing.");
}
final DataAttributes attributes = (DataAttributes) attributesReadHandler.getObject();
final DefaultDataAttributeReferences references = new DefaultDataAttributeReferences();
for (int i = 0; i < mappings.size(); i++)
{
final DataAttributeMappingReadHandler handler = (DataAttributeMappingReadHandler) mappings.get(i);
references.setReference(handler.getTargetDomain(), handler.getTargetName(),
(DataAttributeReference) handler.getObject());
}
rule = new DirectFieldSelectorRule(field, attributes, references);
}