Class ContentUserKeyExtractor
- java.lang.Object
-
- com.atlassian.confluence.importexport.impl.ContentUserKeyExtractor
-
public class ContentUserKeyExtractor extends Object
Provides services for extractingUserKeys from the body content ofContentEntityObjects. It does this by parsing the XHTML body content looking forUserResourceIdentifiers.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description ContentUserKeyExtractor(@NonNull StorageFormatUserRewriter storageFormatUserRewriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
ContentUserKeyExtractor
public ContentUserKeyExtractor(@NonNull StorageFormatUserRewriter storageFormatUserRewriter)
-
-
Method Detail
-
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:
XMLStreamExceptionXhtmlException
-
-