@Role @Unstable public interface MentionsFormatter
Unless you know statically the type of actor to format,
MentionFormatterProvider should be used to resolve
the formatter to use according to the type of the actor.
|Modifier and Type||Method and Description|
Format a actor mention.
String formatMention(String actorReference, DisplayStyle style)
The formatter takes the serialized reference of an actor and returns an user readable string.
The kind of actor handled is specific to a
actorReference- the actor reference
style- the display style of the mention
Copyright © 2004–2022 XWiki. All rights reserved.