Class AbstractLocalhostLinkUrlDataSourceScanner
- java.lang.Object
-
- org.silverpeas.core.contribution.content.AbstractLocalhostLinkUrlDataSourceScanner
-
- All Implemented Interfaces:
LinkUrlDataSourceScanner
- Direct Known Subclasses:
AvatarUrlToDataSourceScanner
,DragAndDropWebEditorUrlToDataSourceScanner
,MailContentProcess.WysiwygCkeditorMediaLinkUrlToDataSourceScanner
public abstract class AbstractLocalhostLinkUrlDataSourceScanner extends Object implements LinkUrlDataSourceScanner
- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalhostLinkUrlDataSourceScanner()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<StringDataExtractor.ExtractorDirective>
directives()
List<LinkUrlDataSource>
scanHtml(String htmlContent)
Scans the given html content to extract the link url and provide relatedDataSource
.
-
-
-
Method Detail
-
directives
protected abstract List<StringDataExtractor.ExtractorDirective> directives()
-
scanHtml
public List<LinkUrlDataSource> scanHtml(String htmlContent)
Description copied from interface:LinkUrlDataSourceScanner
Scans the given html content to extract the link url and provide relatedDataSource
.- Specified by:
scanHtml
in interfaceLinkUrlDataSourceScanner
- Parameters:
htmlContent
- the HTML content to scan.- Returns:
- list of
LinkUrlDataSource
.
-
-