Class HTMLEnhancer
- java.lang.Object
-
- org.ametys.cms.transformation.html.HTMLEnhancer
-
public class HTMLEnhancer extends Object
This class represent a enhancement to html
-
-
Constructor Summary
Constructors Constructor Description HTMLEnhancer(String pluginName, String htmleditor2HtmlXSLT, String html2HTMLEditorXSLT, String html2HTMLXSLT, String html2outgoingReferencesXSLT, String html2HTMLHandler, String htmleditor2HTMLHandler, String html2HTMLEditorHandler)
Create a HTML enhancer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHtml2HTMLEditorHandler()
Get the component role to use when transforming from html to htmleditorString
getHtml2HTMLEditorXSLT()
Get the xslt to use when transforming from html to htmleditorString
getHtml2HTMLHandler()
Get the component role to use when transforming from html to htmlString
getHtml2HTMLXSLT()
Get the xslt to use when transforming from html to htmlString
getHtml2outgoingReferencesXSLT()
Get the xslt to use when transforming from html to outgoing referencesString
getHtmleditor2HTMLHandler()
Get the component role to use when transforming from htmleditor to htmlString
getHTMLEditor2HtmlX()
Get the xslt to use when transforming from htmleditor to html
-
-
-
Constructor Detail
-
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 Detail
-
getHTMLEditor2HtmlX
public String getHTMLEditor2HtmlX()
Get the xslt to use when transforming from htmleditor to html- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLEditorXSLT
public String getHtml2HTMLEditorXSLT()
Get the xslt to use when transforming from html to htmleditor- Returns:
- The fullpath to a xslt file
-
getHtml2outgoingReferencesXSLT
public String getHtml2outgoingReferencesXSLT()
Get the xslt to use when transforming from html to outgoing references- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLXSLT
public String getHtml2HTMLXSLT()
Get the xslt to use when transforming from html to html- Returns:
- The fullpath to a xslt file
-
getHtml2HTMLHandler
public String getHtml2HTMLHandler()
Get the component role to use when transforming from html to html- Returns:
- The component role
-
getHtmleditor2HTMLHandler
public String getHtmleditor2HTMLHandler()
Get the component role to use when transforming from htmleditor to html- Returns:
- The component role
-
getHtml2HTMLEditorHandler
public String getHtml2HTMLEditorHandler()
Get the component role to use when transforming from html to htmleditor- Returns:
- The component role
-
-