Class HTMLEnhancer
java.lang.Object
org.ametys.cms.transformation.html.HTMLEnhancer
This class represent a enhancement to html
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the component role to use when transforming from html to htmleditorGet the xslt to use when transforming from html to htmleditorGet the component role to use when transforming from html to htmlGet the xslt to use when transforming from html to htmlGet the xslt to use when transforming from html to outgoing referencesGet the component role to use when transforming from htmleditor to htmlGet the xslt to use when transforming from htmleditor to html
-
Constructor Details
-
HTMLEnhancer
public HTMLEnhancer(String pluginName, String htmleditor2HtmlXSLT, String html2HTMLEditorXSLT, String html2HTMLXSLT, String html2outgoingReferencesXSLT, String html2HTMLHandler, String htmleditor2HTMLHandler, String html2HTMLEditorHandler) Create a HTML enhancer- Parameters:
pluginName
- The name of the plugin declaring the enhancerhtmleditor2HtmlXSLT
- The fullpath to the xslt file or relative to the current pluginhtml2HTMLEditorXSLT
- The fullpath to the xslt file or relative to the current pluginhtml2HTMLXSLT
- The fullpath to the xslt file or relative to the current pluginhtml2outgoingReferencesXSLT
- The fullpath to the xslt file or relative to the current pluginhtml2HTMLHandler
- The role of a component that implements EnhancementHandlerhtmleditor2HTMLHandler
- The role of a component that implements HTMLEditionHandlerhtml2HTMLEditorHandler
- The role of a component that implements HTMLEditionHandler
-
-
Method Details
-
getHTMLEditor2HtmlX
Get the xslt to use when transforming from htmleditor to html- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLEditorXSLT
Get the xslt to use when transforming from html to htmleditor- Returns:
- The fullpath to a xslt file
-
getHtml2outgoingReferencesXSLT
Get the xslt to use when transforming from html to outgoing references- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLXSLT
Get the xslt to use when transforming from html to html- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLHandler
Get the component role to use when transforming from html to html- Returns:
- The component role
-
getHtmleditor2HTMLHandler
Get the component role to use when transforming from htmleditor to html- Returns:
- The component role
-
getHtml2HTMLEditorHandler
Get the component role to use when transforming from html to htmleditor- Returns:
- The component role
-