registry.registerDeserializer(clz, ToolConstants.XML_FORMAT, new XMLFormatSerializer());
registry.mapExtensionTypes(clz, ToolConstants.XML_FORMAT, XMLFormat.class);
}
private void registerXMLFormatBinding(ExtensionRegistry registry, Class clz) {
registry.registerSerializer(clz, ToolConstants.XML_BINDING_FORMAT, new XMLFormatBindingSerializer());
registry
.registerDeserializer(clz, ToolConstants.XML_BINDING_FORMAT, new XMLFormatBindingSerializer());
registry.mapExtensionTypes(clz, ToolConstants.XML_BINDING_FORMAT, XMLFormatBinding.class);
}