void (final XmlWriter writer, final String defaultClassName) { writeId(writer); writeClassIfDifferent(writer, defaultClassName); writeBinding(writer); // Constraints and properties writeConstraints(writer); writeProperties(writer); // Margin and border writeBorder(writer); writeChildren(writer); }