void (@NotNull Element entry, @NotNull String attributeName, @Nullable Object value, @Nullable Binding binding, @Nullable SerializationFilter filter) { if (value == null) { return; } if (binding == null) { entry.setAttribute(attributeName, JDOMUtil.removeControlChars(XmlSerializerImpl.convertToString(value))); } else { Object serialized = binding.serialize(value, entry, filter); if (serialized != null) { if (isSurroundKey()) { Element container = new Element(attributeName); container.addContent((Content)serialized); entry.addContent(container); } else { entry.addContent((Content)serialized); } } } }