Class DocbookEnhancer

java.lang.Object
org.ametys.cms.transformation.docbook.DocbookEnhancer

public class DocbookEnhancer extends Object
This class represent a enhancement to docbook
  • Constructor Details

    • DocbookEnhancer

      public DocbookEnhancer(String pluginName, String htmleditor2DocbookXSLT, String docbook2HTMLEditorXSLT, String docbook2HTMLXSLT, String docbook2outgoingReferencesXSLT, String docbook2HTMLHandler, String htmleditor2DocbookHandler, String docbook2htmleditorHandler)
      Create a docbook enhancer
      Parameters:
      pluginName - The name of the plugin declaring the enhancer
      htmleditor2DocbookXSLT - The fullpath to the xslt file or relative to the current plugin
      docbook2HTMLEditorXSLT - The fullpath to the xslt file or relative to the current plugin
      docbook2HTMLXSLT - The fullpath to the xslt file or relative to the current plugin
      docbook2outgoingReferencesXSLT - The fullpath to the xslt file or relative to the current plugin
      docbook2HTMLHandler - The role of a component that implements EnhancementTransformer
      htmleditor2DocbookHandler - The role of a component that implements EnhancementTransformer
      docbook2htmleditorHandler - The role of a component that implements EnhancementTransformer
  • Method Details

    • getHTMLEditor2DocbookXSLT

      Get the xslt to use when transforming from htmleditor to docbook
      Returns:
      The fullpath to a xslt file
    • getDocbook2HTMLEditorXSLT

      Get the xslt to use when transforming from docbook to htmleditor
      Returns:
      The fullpath to a xslt file
    • getDocbook2HTMLXSLT

      Get the xslt to use when transforming from docbook to html
      Returns:
      The fullpath to a xslt file
    • getDocbook2outgoingReferencesXSLT

      Get the xslt to use when transforming from docbook to html
      Returns:
      The fullpath to a xslt file
    • getDocbook2HTMLHandler

      Get the component role to use when transforming from docbook to html
      Returns:
      The component role
    • getHTMLEditor2DocbookHandler

      Get the component role to use when transforming from htmleditor to docbook
      Returns:
      The component role
    • getDocbook2HTMLEditorHandler

      Get the component role to use when transforming from docbook to htmleditor
      Returns:
      The component role