Class DocbookEnhancer
- java.lang.Object
-
- org.ametys.cms.transformation.docbook.DocbookEnhancer
-
public class DocbookEnhancer extends Object
This class represent a enhancement to docbook
-
-
Constructor Summary
Constructors Constructor Description DocbookEnhancer(String pluginName, String htmleditor2DocbookXSLT, String docbook2HTMLEditorXSLT, String docbook2HTMLXSLT, String docbook2outgoingReferencesXSLT, String docbook2HTMLHandler, String htmleditor2DocbookHandler, String docbook2htmleditorHandler)
Create a docbook enhancer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDocbook2HTMLEditorHandler()
Get the component role to use when transforming from docbook to htmleditorString
getDocbook2HTMLEditorXSLT()
Get the xslt to use when transforming from docbook to htmleditorString
getDocbook2HTMLHandler()
Get the component role to use when transforming from docbook to htmlString
getDocbook2HTMLXSLT()
Get the xslt to use when transforming from docbook to htmlString
getDocbook2outgoingReferencesXSLT()
Get the xslt to use when transforming from docbook to htmlString
getHTMLEditor2DocbookHandler()
Get the component role to use when transforming from htmleditor to docbookString
getHTMLEditor2DocbookXSLT()
Get the xslt to use when transforming from htmleditor to docbook
-
-
-
Constructor Detail
-
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 enhancerhtmleditor2DocbookXSLT
- The fullpath to the xslt file or relative to the current plugindocbook2HTMLEditorXSLT
- The fullpath to the xslt file or relative to the current plugindocbook2HTMLXSLT
- The fullpath to the xslt file or relative to the current plugindocbook2outgoingReferencesXSLT
- The fullpath to the xslt file or relative to the current plugindocbook2HTMLHandler
- The role of a component that implements EnhancementTransformerhtmleditor2DocbookHandler
- The role of a component that implements EnhancementTransformerdocbook2htmleditorHandler
- The role of a component that implements EnhancementTransformer
-
-
Method Detail
-
getHTMLEditor2DocbookXSLT
public String getHTMLEditor2DocbookXSLT()
Get the xslt to use when transforming from htmleditor to docbook- Returns:
- The fullpath to a xslt file
-
getDocbook2HTMLEditorXSLT
public String getDocbook2HTMLEditorXSLT()
Get the xslt to use when transforming from docbook to htmleditor- Returns:
- The fullpath to a xslt file
-
getDocbook2HTMLXSLT
public String getDocbook2HTMLXSLT()
Get the xslt to use when transforming from docbook to html- Returns:
- The fullpath to a xslt file
-
getDocbook2outgoingReferencesXSLT
public String getDocbook2outgoingReferencesXSLT()
Get the xslt to use when transforming from docbook to html- Returns:
- The fullpath to a xslt file
-
getDocbook2HTMLHandler
public String getDocbook2HTMLHandler()
Get the component role to use when transforming from docbook to html- Returns:
- The component role
-
getHTMLEditor2DocbookHandler
public String getHTMLEditor2DocbookHandler()
Get the component role to use when transforming from htmleditor to docbook- Returns:
- The component role
-
getDocbook2HTMLEditorHandler
public String getDocbook2HTMLEditorHandler()
Get the component role to use when transforming from docbook to htmleditor- Returns:
- The component role
-
-