Class HTMLEnhancementExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.AbstractExtensionPoint<HTMLEnhancer>
org.ametys.cms.transformation.html.HTMLEnhancementExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<HTMLEnhancer>
,Initializable
,Component
- Direct Known Subclasses:
HTMLEnhancementExtensionPoint
This extension point handle the new tags you want to add to the default implementation of the docbook
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.AbstractExtensionPoint
_extensions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.Get the list of available handlersGet the content of the XSLT fileGet the list of available handlersGet the content of the XSLT fileGet the content of the XSLT fileGet the list of available handlersGet the content of the XSLT filevoid
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.Methods inherited from class org.ametys.runtime.plugin.AbstractExtensionPoint
getExtension, getExtensionsIds, hasExtension, initialize
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
HTMLEnhancementExtensionPoint
public HTMLEnhancementExtensionPoint()
-
-
Method Details
-
getHtml2htmleditorXSLT
Get the content of the XSLT file- Returns:
- A valid XSLT file content
-
getHtml2htmlXSLT
Get the content of the XSLT file- Returns:
- A valid XSLT file content
-
getHtml2outgoingReferencesXSLT
Get the content of the XSLT file- Returns:
- A valid XSLT file content
-
getHtmlEditor2HTMLXSLT
Get the content of the XSLT file- Returns:
- A valid XSLT file content
-
getHtml2HTMLHandlers
Get the list of available handlers- Returns:
- a non null set of roles
-
getHtmleditor2HTMLHandlers
Get the list of available handlers- Returns:
- a non null set of roles
-
getHtml2HTMLEditorHandlers
Get the list of available handlers- Returns:
- a non null set of roles
-
addExtension
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Description copied from interface:ExtensionPoint
Add an extension to this point. Each implementation knows the meaning of the given configuration.- Parameters:
id
- the unique identifier of the extension.pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)configuration
- the information about the extension to be added- Throws:
ConfigurationException
- when a configuration problem occurs
-
initializeExtensions
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Throws:
Exception
- if something wrong occurs
-