First ensures that the given value is coerceable into the type expected by this option, then returns the result of
Object.toString() called on the given value.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
First ensures that the given value is coerceable into the type expected by this option, then returns the result of
Object.toString() called on the given value. If this option is escaping quotes (Option.escapesValue() is
true), then single quotes will be escaped, and if this option is quoting values ( Option.quotesValue() is
true), then the value will be surrounded by single quotes. Given null, returns an empty string.