@Override
  public void serialize(@NotNull Object bean, @NotNull Element parent, @Nullable SerializationFilter filter) {
    Object value = accessor.read(bean);
    if (value != null) {
      parent.addContent(new Text(true, XmlSerializerImpl.convertToString(value)));
    }
  }
@Override
  public void serialize(@NotNull Object bean, @NotNull Element parent, @Nullable SerializationFilter filter)