public abstract class BaseRegexStringContentTransformer extends java.lang.Object implements ContentTransformer<java.lang.String>
Constructor and Description |
---|
BaseRegexStringContentTransformer() |
Modifier and Type | Method and Description |
---|---|
abstract ContentTransformerContentType<java.lang.String> |
getContentTransformerContentType() |
protected abstract com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntry(java.util.regex.Matcher matcher) |
protected abstract java.util.regex.Pattern |
getPattern() |
protected abstract java.lang.String |
getReplacement(java.lang.String originalImgTag,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
java.lang.String |
transform(java.lang.String content) |
public abstract ContentTransformerContentType<java.lang.String> getContentTransformerContentType()
getContentTransformerContentType
in interface ContentTransformer<java.lang.String>
public java.lang.String transform(java.lang.String content) throws com.liferay.portal.kernel.exception.PortalException
transform
in interface ContentTransformer<java.lang.String>
com.liferay.portal.kernel.exception.PortalException
protected abstract com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(java.util.regex.Matcher matcher) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected abstract java.util.regex.Pattern getPattern()
protected abstract java.lang.String getReplacement(java.lang.String originalImgTag, com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException