public enum AttributeValueQuotes extends Enum<AttributeValueQuotes>
| Enum Constant and Description |
|---|
AS_IS |
DOUBLE_PREFERRED |
DOUBLE_QUOTES |
NO_QUOTES_DOUBLE_PREFERRED |
NO_QUOTES_SINGLE_PREFERRED |
SINGLE_PREFERRED |
SINGLE_QUOTES |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
quotesFor(@NotNull CharSequence text,
@NotNull CharSequence defaultQuotes) |
static AttributeValueQuotes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeValueQuotes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeValueQuotes AS_IS
public static final AttributeValueQuotes NO_QUOTES_SINGLE_PREFERRED
public static final AttributeValueQuotes NO_QUOTES_DOUBLE_PREFERRED
public static final AttributeValueQuotes SINGLE_PREFERRED
public static final AttributeValueQuotes DOUBLE_PREFERRED
public static final AttributeValueQuotes SINGLE_QUOTES
public static final AttributeValueQuotes DOUBLE_QUOTES
public static AttributeValueQuotes[] values()
for (AttributeValueQuotes c : AttributeValueQuotes.values()) System.out.println(c);
public static AttributeValueQuotes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@NotNull public @NotNull String quotesFor(@NotNull @NotNull CharSequence text, @NotNull @NotNull CharSequence defaultQuotes)
Copyright © 2020. All rights reserved.