Class HTMLTransformer
java.lang.Object
org.ametys.cms.transformation.AbstractRichTextTransformer
org.ametys.plugins.workspaces.html.HTMLTransformer
- All Implemented Interfaces:
RichTextTransformer,PluginAware,Component,Serviceable
RichTextTransformer which convert HTML into HTML.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the internalSourceURI used to process the HTML editor content.protected StringReturns the internalSourceURI used to process the RichText's InputStream.voidsetPluginInfo(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class org.ametys.cms.transformation.AbstractRichTextTransformer
service, transform, transform, transformForEditing, transformForEditing, transformForRendering
-
Field Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
HTMLTransformer
public HTMLTransformer()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAwareSets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfoin interfacePluginAware- Parameters:
pluginName- Unique identifier for the plugin hosting the extensionfeatureName- Unique feature identifier (unique for a given pluginName)id- Unique identifier of this component
-
_getSourceUriForHTML2RichText
Description copied from class:AbstractRichTextTransformerReturns the internalSourceURI used to process the HTML editor content.- Specified by:
_getSourceUriForHTML2RichTextin classAbstractRichTextTransformer- Returns:
- the internal
SourceURI used to process the HTML editor content.
-
_getSourceUriForRichText2HTML
Description copied from class:AbstractRichTextTransformerReturns the internalSourceURI used to process the RichText's InputStream.- Specified by:
_getSourceUriForRichText2HTMLin classAbstractRichTextTransformer- Returns:
- the internal
SourceURI used to process the RichText's InputStream.
-