@Override
  protected AutoSerializer fromNonNullXmlObject(DeclarableType xmlObject) {
    if (!xmlObject.getClassName().equals(AUTO_SERIALIZER_CLASS_NAME)) {
      return null;
    }
    Boolean portable = null;
    List<String> patterns = null;
    for (ParameterType parameter : xmlObject.getParameters()) {
      if (PATTERNS_PROPERTY_NAME.equals(parameter.getName())) {
        if (parameter.getString() != null) {
          patterns = Arrays.asList(parameter.getString().split("\\s*,\\s*"));
        }
      } else if (PORTABLE_PROPERTY_NAME.equals(parameter.getName())) {
        portable = Boolean.parseBoolean(parameter.getString());
      } else {
        return null;
      }
    }
    return new AutoSerializer(portable, patterns);
  }
this converts between AutoSerializer and DeclarableType (xml domain object). Only string type
parameter in the DeclarableType will be converted.
geode-core/src/main/java/org/apache/geode/management/internal/configuration/converters/AutoSerializerConverter.java