public class XmlPropertyTypeWriter implements IThingWriter
{
public void write(java.lang.Object output, IThingWriteContext context, Thing t) throws ThingWriteException
{
PropertyType prop = (PropertyType)t;
Branch parent = (Branch)output; // Element or Document
boolean isAdvanced = PropertyType.CAT_ADVANCED.equals(prop.getCategory());
Element propElem = parent.addElement("DesignerProperty");
Element headerElem = propElem.addElement("Header");
String defValue = prop.getDefaultValue();
if("\"\"".equals(defValue))
{