Class DocbookEnhancer
- java.lang.Object
-
- org.ametys.cms.transformation.docbook.DocbookEnhancer
-
public class DocbookEnhancer extends Object
This class represent a enhancement to docbook
-
-
Field Summary
Fields Modifier and Type Field Description private String
_docbook2HTMLEditorXSLT
private String
_docbook2HTMLHandler
private String
_docbook2HTMLXSLT
private String
_docbook2outgoingReferencesXSLT
private String
_htmleditor2docbookHandler
private String
_htmleditor2DocbookXSLT
-
Constructor Summary
Constructors Constructor Description DocbookEnhancer(String pluginName, String htmleditor2DocbookXSLT, String docbook2HTMLEditorXSLT, String docbook2HTMLXSLT, String docbook2outgoingReferencesXSLT, String docbook2HTMLHandler, String htmleditor2DocbookHandler)
Create a docbook enhancer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
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
-
-
-
Field Detail
-
_htmleditor2DocbookXSLT
private String _htmleditor2DocbookXSLT
-
_docbook2HTMLEditorXSLT
private String _docbook2HTMLEditorXSLT
-
_docbook2outgoingReferencesXSLT
private String _docbook2outgoingReferencesXSLT
-
_docbook2HTMLXSLT
private String _docbook2HTMLXSLT
-
_docbook2HTMLHandler
private String _docbook2HTMLHandler
-
_htmleditor2docbookHandler
private String _htmleditor2docbookHandler
-
-
Constructor Detail
-
DocbookEnhancer
public DocbookEnhancer(String pluginName, String htmleditor2DocbookXSLT, String docbook2HTMLEditorXSLT, String docbook2HTMLXSLT, String docbook2outgoingReferencesXSLT, String docbook2HTMLHandler, String htmleditor2DocbookHandler)
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 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
-
-