Class XhtmlOutgoingLinksExtractor
java.lang.Object
com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor
- All Implemented Interfaces:
OutgoingLinksExtractor
You should note that this implementation of the OutgoingLinksExtractor is actually a 'reference' extractor. Embedded image references will also be extracted. This extractor will extract all resource identifiers. So if we eventually supported macro definitions using resource identifiers then these references would also be extracted.
The DefaultRelatedContentRefactorer.updateReferences(SpaceContentEntityObject, com.atlassian.confluence.spaces.Space, String)
method
depends on this behaviour to test whether a page needs its content refactored after a move or update.
-
Constructor Summary
ConstructorsConstructorDescriptionXhtmlOutgoingLinksExtractor
(XmlEventReaderFactory xmlEventReaderFactory, Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller, String contentEntityResolverId, String draftResolverId, String idAndTypeResolverId) -
Method Summary
-
Constructor Details
-
XhtmlOutgoingLinksExtractor
public XhtmlOutgoingLinksExtractor(XmlEventReaderFactory xmlEventReaderFactory, Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller, String contentEntityResolverId, String draftResolverId, String idAndTypeResolverId)
-
-
Method Details
-
extract
- Specified by:
extract
in interfaceOutgoingLinksExtractor
-