/**
*
*/
public Object createObject(Attributes atts)
{
JRDesignSortField sortField = new JRDesignSortField();
sortField.setName(atts.getValue(JRXmlConstants.ATTRIBUTE_name));
SortOrderEnum order = SortOrderEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_order));
if (order != null)
{
sortField.setOrder(order);
}
SortFieldTypeEnum type = SortFieldTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_type));
if (type != null)
{
sortField.setType(type);
}
return sortField;
}