rule.setAttribute("property", smr.getPropertyName());
}
else if (r instanceof SetParentRule)
{
SetParentRule spr = (SetParentRule) r;
rule = _document.createElement("set-parent");
rule.setAttribute("property", spr.getPropertyName());
}
else if (r instanceof SetPropertyRule)
{
SetPropertyRule spr = (SetPropertyRule) r;
rule = _document.createElement("set-property");
rule.setAttribute("property", spr.getPropertyName());
rule.setAttribute("value", spr.getValue());
}
else if (r instanceof ConversionDescriptor)
{
ConversionDescriptor cd = (ConversionDescriptor) r;
rule = _document.createElement("conversion");