Class HTMLEnhancer
- java.lang.Object
-
- org.ametys.cms.transformation.html.HTMLEnhancer
-
public class HTMLEnhancer extends Object
This class represent a enhancement to html
-
-
Field Summary
Fields Modifier and Type Field Description private String
_html2HTMLEditorXSLT
private String
_html2HTMLHandler
private String
_html2HTMLXSLT
private String
_html2outgoingReferencesXSLT
private String
_htmleditor2HTMLHandler
private String
_htmleditor2HtmlXSLT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
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
-
-
-
Field Detail
-
_htmleditor2HtmlXSLT
private String _htmleditor2HtmlXSLT
-
_html2HTMLEditorXSLT
private String _html2HTMLEditorXSLT
-
_html2HTMLXSLT
private String _html2HTMLXSLT
-
_html2outgoingReferencesXSLT
private String _html2outgoingReferencesXSLT
-
_html2HTMLHandler
private String _html2HTMLHandler
-
_htmleditor2HTMLHandler
private String _htmleditor2HTMLHandler
-
-
Constructor Detail
-
HTMLEnhancer
public HTMLEnhancer(String pluginName, String htmleditor2HtmlXSLT, String html2HTMLEditorXSLT, String html2HTMLXSLT, String html2outgoingReferencesXSLT, String html2HTMLHandler, String htmleditor2HTMLHandler)
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 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
-
-