Interface RichTextConfigurationTag
- All Known Implementing Classes:
StaticRichTextConfiguration.StaticRichTextConfigurationTag
public interface RichTextConfigurationTag
A tag configuration for a
RichTextConfiguration
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
What to do if this tag is empty? -
Method Summary
Modifier and TypeMethodDescriptionGet the attributes handled on this tagThe tags that should be replaced by this one.getTag()
Get the tag name.Determine the action to do when this tag is empty.
-
Method Details
-
getTag
Get the tag name. Such as 'span'.- Returns:
- The tag name. Cannot be empty or null.
-
onEmptyTag
Determine the action to do when this tag is empty.- Returns:
- The behavior. Cannot be null.
-
getSynonyms
Set<String> getSynonyms()The tags that should be replaced by this one. For example, "b" should be replaced by "strong". Note that if "b" is handled otherwise, it will not be replaced.- Returns:
- A non null set of tags.
-
getAttributes
Get the attributes handled on this tag- Returns:
- A non null set of attributes.
-