public class DefaultUserMentionsExtractor extends Object implements UserMentionsExtractor
Constructor and Description |
---|
DefaultUserMentionsExtractor(UserAccessor userAccessor,
XmlEventReaderFactory readerFactory,
List<? extends MentionsParser> delegates)
Deprecated.
since 5.3. The
MentionsParser mechanism is deprecated with no replacement. Use DefaultUserMentionsExtractor(com.atlassian.confluence.user.UserAccessor, com.atlassian.confluence.content.render.xhtml.XmlEventReaderFactory, com.atlassian.confluence.content.render.xhtml.Unmarshaller) |
DefaultUserMentionsExtractor(UserAccessor userAccessor,
XmlEventReaderFactory readerFactory,
Unmarshaller<UserResourceIdentifier> userResourceIdentifierUnmarshaller) |
Modifier and Type | Method and Description |
---|---|
List<ConfluenceUser> |
extractMentionedUsers(XMLEventReader reader)
Given a stream of storage format extracts all user links that are considered a 'mention'.
|
List<String> |
extractUserMentions(XMLEventReader reader)
Deprecated.
|
@Deprecated public DefaultUserMentionsExtractor(UserAccessor userAccessor, XmlEventReaderFactory readerFactory, List<? extends MentionsParser> delegates)
MentionsParser
mechanism is deprecated with no replacement. Use DefaultUserMentionsExtractor(com.atlassian.confluence.user.UserAccessor, com.atlassian.confluence.content.render.xhtml.XmlEventReaderFactory, com.atlassian.confluence.content.render.xhtml.Unmarshaller)
public DefaultUserMentionsExtractor(UserAccessor userAccessor, XmlEventReaderFactory readerFactory, Unmarshaller<UserResourceIdentifier> userResourceIdentifierUnmarshaller)
@Deprecated public List<String> extractUserMentions(XMLEventReader reader) throws XMLStreamException
extractUserMentions
in interface UserMentionsExtractor
reader
- reader of a storage format.XMLStreamException
public List<ConfluenceUser> extractMentionedUsers(XMLEventReader reader) throws XMLStreamException
extractMentionedUsers
in interface UserMentionsExtractor
reader
- reader of a storage format.XMLStreamException
Copyright © 2003–2015 Atlassian. All rights reserved.