@SuppressWarnings("ConstantConditions") // Guarding public API nullability.
  public static SimpleXmlConverterFactory createNonStrict(Serializer serializer) {
    if (serializer == null) throw new NullPointerException("serializer == null");
    return new SimpleXmlConverterFactory(serializer, false);
  }
@SuppressWarnings("ConstantConditions") 
  public static SimpleXmlConverterFactory createNonStrict(Serializer serializer) {
    if (serializer == null) throw new NullPointerException("serializer == null");
    return new SimpleXmlConverterFactory(serializer, false);
  }
@ SuppressWarnings ( "ConstantConditions" ) // Guarding public API nullability. public static SimpleXmlConverterFactory createNonStrict ( Serializer serializer ) { if ( serializer == null ) throw new NullPointerException ( "serializer == null" ) ; return new SimpleXmlConverterFactory ( serializer , false ) ; }
Create an instance using {@code serializer} for non-strict conversion.
Create an instance using {