Enum Class 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>
,java.lang.constant.Constable
- Enclosing interface:
- RichTextConfigurationTag
public static enum RichTextConfigurationTag.EMPTY_TAG
extends Enum<RichTextConfigurationTag.EMPTY_TAG>
What to do if this tag is empty?
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAuto-close the tag.Keep open the tag.Padding the tag.Remove the tag.Remove the tag. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RichTextConfigurationTag.EMPTY_TAG[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REMOVE_EMPTY_ATTRIBUTES
Remove the tag.<span>content</span>
=>content
-
REMOVE_EMPTY_CONTENT
Remove the tag.<span></span>
=> -
PADDING
Padding the tag.<span></span>
=><span> </span>
-
OPEN
Keep open the tag.<span></span>
=><span></span>
-
CLOSE
Auto-close the tag.<span></span>
=><span/>
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-