Enum RichTextConfigurationTag.EMPTY_TAG
- java.lang.Object
-
- java.lang.Enum<RichTextConfigurationTag.EMPTY_TAG>
-
- org.ametys.core.ui.widgets.richtext.RichTextConfigurationTag.EMPTY_TAG
-
- All Implemented Interfaces:
Serializable
,Comparable<RichTextConfigurationTag.EMPTY_TAG>
- Enclosing interface:
- RichTextConfigurationTag
public static enum RichTextConfigurationTag.EMPTY_TAG extends Enum<RichTextConfigurationTag.EMPTY_TAG>
What to do if this tag is empty?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
Auto-close the tag.OPEN
Keep open the tag.PADDING
Padding the tag.REMOVE_EMPTY_ATTRIBUTES
Remove the tag.REMOVE_EMPTY_CONTENT
Remove the tag.
-
Constructor Summary
Constructors Modifier Constructor Description private
EMPTY_TAG()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RichTextConfigurationTag.EMPTY_TAG
valueOf(String name)
Returns the enum constant of this type with the specified name.static RichTextConfigurationTag.EMPTY_TAG[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE_EMPTY_ATTRIBUTES
public static final RichTextConfigurationTag.EMPTY_TAG REMOVE_EMPTY_ATTRIBUTES
Remove the tag.<span>content</span>
=>content
-
REMOVE_EMPTY_CONTENT
public static final RichTextConfigurationTag.EMPTY_TAG REMOVE_EMPTY_CONTENT
Remove the tag.<span></span>
=>
-
PADDING
public static final RichTextConfigurationTag.EMPTY_TAG PADDING
Padding the tag.<span></span>
=><span> </span>
-
OPEN
public static final RichTextConfigurationTag.EMPTY_TAG OPEN
Keep open the tag.<span></span>
=><span></span>
-
CLOSE
public static final RichTextConfigurationTag.EMPTY_TAG CLOSE
Auto-close the tag.<span></span>
=><span/>
-
-
Constructor Detail
-
EMPTY_TAG
private EMPTY_TAG()
-
-
Method Detail
-
values
public static RichTextConfigurationTag.EMPTY_TAG[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RichTextConfigurationTag.EMPTY_TAG c : RichTextConfigurationTag.EMPTY_TAG.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RichTextConfigurationTag.EMPTY_TAG valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-