Class HTMLEnhancer

    • 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 enhancer
        htmleditor2HtmlXSLT - The fullpath to the xslt file or relative to the current plugin
        html2HTMLEditorXSLT - The fullpath to the xslt file or relative to the current plugin
        html2HTMLXSLT - The fullpath to the xslt file or relative to the current plugin
        html2outgoingReferencesXSLT - The fullpath to the xslt file or relative to the current plugin
        html2HTMLHandler - The role of a component that implements EnhancementHandler
        htmleditor2HTMLHandler - The role of a component that implements HTMLEditionHandler
        html2HTMLEditorHandler - 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