for (int i = 0; i < directRules.length; i++)
{
final DataSchemaRule rule = directRules[i];
if (rule instanceof DirectFieldSelectorRule)
{
final DirectFieldSelectorRule fieldSelectorRule = (DirectFieldSelectorRule) rule;
writer.writeTag(ClassicEngineBoot.DATASCHEMA_NAMESPACE,
"direct-mapping", "fieldame", fieldSelectorRule.getFieldName(), XmlWriterSupport.OPEN);
writeAttributes(writer, rule.getStaticAttributes());
writer.writeCloseTag();
}
}
}