com.atlassian.confluence.content.render.xhtml.links
Class XhtmlOutgoingLinksExtractor
java.lang.Object
com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor
- All Implemented Interfaces:
- OutgoingLinksExtractor
public class XhtmlOutgoingLinksExtractor
- extends Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XhtmlOutgoingLinksExtractor
public XhtmlOutgoingLinksExtractor(XmlEventReaderFactory xmlEventReaderFactory,
Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller,
String contentEntityResolverId,
String draftResolverId,
String idAndTypeResolverId)
extract
public Set<OutgoingLink> extract(ContentEntityObject content)
- Specified by:
extract
in interface OutgoingLinksExtractor
Copyright © 2003-2013 Atlassian. All Rights Reserved.