Class ContentUserKeyExtractor
java.lang.Object
com.atlassian.confluence.importexport.impl.ContentUserKeyExtractor
Provides services for extracting
UserKey
s from the body content of ContentEntityObject
s. It does this
by parsing the XHTML body content looking for UserResourceIdentifier
s.- Since:
- 5.3
-
Constructor Summary
ConstructorDescriptionContentUserKeyExtractor
(@NonNull StorageFormatUserRewriter storageFormatUserRewriter) -
Method Summary
Modifier and TypeMethodDescriptionSet<com.atlassian.sal.api.user.UserKey>
extractUserKeys
(String storageFormatContent) Set<com.atlassian.sal.api.user.UserKey>
extractUserKeysFromContentEntities
(Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments)
-
Constructor Details
-
ContentUserKeyExtractor
-
-
Method Details
-
extractUserKeysFromContentEntities
public Set<com.atlassian.sal.api.user.UserKey> extractUserKeysFromContentEntities(Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments) -
extractUserKeys
public Set<com.atlassian.sal.api.user.UserKey> extractUserKeys(String storageFormatContent) throws XMLStreamException, XhtmlException - Throws:
XMLStreamException
XhtmlException
-