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");