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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the internalSource
URI used to process the HTML editor content.protected String
Returns the internalSource
URI used to process the RichText's InputStream.void
setPluginInfo
(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, transformForRendering
-
Field Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
HTMLTransformer
public HTMLTransformer()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
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.- Specified by:
setPluginInfo
in 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:AbstractRichTextTransformer
Returns the internalSource
URI used to process the HTML editor content.- Specified by:
_getSourceUriForHTML2RichText
in classAbstractRichTextTransformer
- Returns:
- the internal
Source
URI used to process the HTML editor content.
-
_getSourceUriForRichText2HTML
Description copied from class:AbstractRichTextTransformer
Returns the internalSource
URI used to process the RichText's InputStream.- Specified by:
_getSourceUriForRichText2HTML
in classAbstractRichTextTransformer
- Returns:
- the internal
Source
URI used to process the RichText's InputStream.
-