Class HTMLTransformer
- java.lang.Object
-
- org.ametys.cms.transformation.AbstractRichTextTransformer
-
- org.ametys.plugins.workspaces.html.HTMLTransformer
-
- All Implemented Interfaces:
RichTextTransformer,PluginAware,Component,Serviceable
public class HTMLTransformer extends AbstractRichTextTransformer implements Component, PluginAware
RichTextTransformerwhich convert HTML into HTML.
-
-
Field Summary
Fields Modifier and Type Field Description private String_pluginNamestatic StringROLEAvalon role.
-
Constructor Summary
Constructors Constructor Description HTMLTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String_getSourceUriForHTML2RichText()Returns the internalSourceURI used to process the HTML editor content.protected String_getSourceUriForRichText2HTML()Returns 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, transformForRendering
-
-
-
-
Field Detail
-
_pluginName
private String _pluginName
-
-
Constructor Detail
-
HTMLTransformer
public HTMLTransformer()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
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
protected String _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
protected String _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.
-
-