From c79a2645f7adb11085d0a59d9721df363c9a3282 Mon Sep 17 00:00:00 2001
From: PJ Fanning
+ * These {@link YAMLGenerator.Feature}s are ignored if you provide your own DumperOptions:
+ *
+ *
+ *
+ * These {@link YAMLGenerator.Feature}s are ignored if you provide your own DumperOptions: + *
+ * These {@link YAMLGenerator.Feature}s are ignored if you provide your own DumperOptions: + *
+ * Ignored if you provide your own {@code DumperOptions}. + *
*/ CANONICAL_OUTPUT(false), /** * Options passed to SnakeYAML that determines whether longer textual content * gets automatically split into multiple lines or not. - *- * Feature is enabled by default to conform to SnakeYAML defaults as well as - * backwards compatibility with 2.5 and earlier versions. + *
+ * Feature is enabled by default to conform to SnakeYAML defaults as well as + * backwards compatibility with 2.5 and earlier versions. + *
+ *+ * Ignored if you provide your own {@code DumperOptions}. + *
* * @since 2.6 */ @@ -75,10 +82,11 @@ public enum Feature implements FormatFeature // since 2.9 /** * Whether strings will be rendered without quotes (true) or * with quotes (false, default). - *- * Minimized quote usage makes for more human readable output; however, content is - * limited to printable characters according to the rules of - * literal block style. + *
+ * Minimized quote usage makes for more human readable output; however, content is + * limited to printable characters according to the rules of + * literal block style. + *
* * @since 2.7 */ @@ -87,10 +95,11 @@ public enum Feature implements FormatFeature // since 2.9 /** * Whether numbers stored as strings will be rendered with quotes (true) or * without quotes (false, default) when MINIMIZE_QUOTES is enabled. - *- * Minimized quote usage makes for more human readable output; however, content is - * limited to printable characters according to the rules of - * literal block style. + *
+ * Minimized quote usage makes for more human readable output; however, content is + * limited to printable characters according to the rules of + * literal block style. + *
* * @since 2.8.2 */ @@ -101,8 +110,9 @@ public enum Feature implements FormatFeature // since 2.9 * literal block style * should be used. This automatically enabled when {@link #MINIMIZE_QUOTES} is set. *- * The content of such strings is limited to printable characters according to the rules of - * literal block style. + * The content of such strings is limited to printable characters according to the rules of + * literal block style. + *
* * @since 2.9 */ @@ -111,8 +121,12 @@ public enum Feature implements FormatFeature // since 2.9 /** * Feature enabling of which adds indentation for array entry generation * (default indentation being 2 spaces). - *- * Default value is {@code false} for backwards compatibility + *
+ * Default value is {@code false} for backwards compatibility + *
+ *+ * Ignored if you provide your own {@code DumperOptions}. + *
* * @since 2.9 */ @@ -120,8 +134,12 @@ public enum Feature implements FormatFeature // since 2.9 /** * Feature enabling of which adds indentation with indicator for array entry generation * (default indentation being 2 spaces). - *- * Default value is {@code false} for backwards compatibility + *
+ * Default value is {@code false} for backwards compatibility + *
+ *+ * Ignored if you provide your own {@code DumperOptions}. + *
* * @since 2.12 */ @@ -132,7 +150,11 @@ public enum Feature implements FormatFeature // since 2.9 * serialization should be same as what the default is for current platform. * If disabled, Unix linefeed ({@code \n}) will be used. *- * Default value is {@code false} for backwards compatibility. + * Default value is {@code false} for backwards compatibility + *
+ *+ * Ignored if you provide your own {@code DumperOptions}. + *
* * @since 2.9.6 */ @@ -144,8 +166,12 @@ public enum Feature implements FormatFeature // since 2.9 * If disabled, the max key length is left as 128 characters: longer names * are truncated. If enabled, limit is raised to 1024 characters. *- * Default value is {@code false} for backwards-compatibility (same as behavior - * before this feature was added). + * Default value is {@code false} for backwards-compatibility (same as behavior + * before this feature was added). + *
+ *+ * Ignored if you provide your own {@code DumperOptions}. + *
* * @since 2.14 */ From ad2b26ee942874d065a4dba2d3ea78cef260bffa Mon Sep 17 00:00:00 2001 From: PJ Fanning