public class ContentUserKeyExtractor extends Object
UserKeys from the body content of ContentEntityObjects. It does this
by parsing the XHTML body content looking for UserResourceIdentifiers.| Constructor and Description |
|---|
ContentUserKeyExtractor(@NonNull StorageFormatUserRewriter storageFormatUserRewriter) |
| Modifier and Type | Method and Description |
|---|---|
Set<com.atlassian.sal.api.user.UserKey> |
extractUserKeys(String storageFormatContent) |
Set<com.atlassian.sal.api.user.UserKey> |
extractUserKeysFromContentEntities(Iterable<? extends ContentEntityObject> contentEntities,
boolean includeComments) |
public ContentUserKeyExtractor(@NonNull StorageFormatUserRewriter storageFormatUserRewriter)
public Set<com.atlassian.sal.api.user.UserKey> extractUserKeysFromContentEntities(Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments)
public Set<com.atlassian.sal.api.user.UserKey> extractUserKeys(String storageFormatContent) throws XMLStreamException, XhtmlException
XMLStreamExceptionXhtmlExceptionCopyright © 2003–2022 Atlassian. All rights reserved.