Class DocbookEnhancer
java.lang.Object
org.ametys.cms.transformation.docbook.DocbookEnhancer
This class represent a enhancement to docbook
-
Constructor Summary
ConstructorDescriptionDocbookEnhancer
(String pluginName, String htmleditor2DocbookXSLT, String docbook2HTMLEditorXSLT, String docbook2HTMLXSLT, String docbook2outgoingReferencesXSLT, String docbook2HTMLHandler, String htmleditor2DocbookHandler, String docbook2htmleditorHandler) Create a docbook enhancer -
Method Summary
Modifier and TypeMethodDescriptionGet the component role to use when transforming from docbook to htmleditorGet the xslt to use when transforming from docbook to htmleditorGet the component role to use when transforming from docbook to htmlGet the xslt to use when transforming from docbook to htmlGet the xslt to use when transforming from docbook to htmlGet the component role to use when transforming from htmleditor to docbookGet the xslt to use when transforming from htmleditor 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 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 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
-