public class HTMLEnhancementExtensionPoint extends AbstractExtensionPoint<HTMLEnhancer>
Modifier and Type | Field and Description |
---|---|
private String |
_html2htmleditorXSLT |
private Set<String> |
_html2htmlHandlers |
private String |
_html2htmlXSLT |
private String |
_html2outgoingReferencesXSLT |
private Set<String> |
_htmleditor2htmlHandlers |
private String |
_htmleditor2htmlXSLT |
static String |
ROLE
The avalon role
|
_extensions
Constructor and Description |
---|
HTMLEnhancementExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
private String |
_createIncludes(Set<String> includes) |
private Set<String> |
_getHtml2htmleditorXSLTs() |
private Set<String> |
_getHtml2htmlXSLTs() |
private Set<String> |
_getHtml2outgoingReferencesXSLTs() |
private Set<String> |
_getHTMLEditor2htmlXSLTs() |
private String |
_readTemplate() |
void |
addExtension(String id,
String pluginName,
String featureName,
Configuration configuration)
Add an extension to this point.
|
String |
getHtml2htmleditorXSLT()
Get the content of the XSLT file
|
Set<String> |
getHtml2HTMLHandlers()
Get the list of available handlers
|
String |
getHtml2htmlXSLT()
Get the content of the XSLT file
|
String |
getHtml2outgoingReferencesXSLT()
Get the content of the XSLT file
|
Set<String> |
getHtmleditor2HTMLHandlers()
Get the list of available handlers
|
String |
getHtmlEditor2HTMLXSLT()
Get the content of the XSLT file
|
void |
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after all addExtension() calls.This is the last step before the actual startup of the application. |
getExtension, getExtensionsIds, hasExtension, initialize
getLogger, setLogger
private String _html2htmleditorXSLT
private String _html2htmlXSLT
private String _html2outgoingReferencesXSLT
private String _htmleditor2htmlXSLT
private Set<String> _html2htmlHandlers
private Set<String> _htmleditor2htmlHandlers
public HTMLEnhancementExtensionPoint()
public String getHtml2htmleditorXSLT()
public String getHtml2htmlXSLT()
public String getHtml2outgoingReferencesXSLT()
public String getHtmlEditor2HTMLXSLT()
public Set<String> getHtml2HTMLHandlers()
public Set<String> getHtmleditor2HTMLHandlers()
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException
ExtensionPoint
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 addedConfigurationException
- when a configuration problem occurspublic void initializeExtensions() throws Exception
ExtensionPoint
addExtension()
calls.Exception
- if something wrong occursprivate String _createIncludes(Set<String> includes)
private String _readTemplate() throws IOException
IOException
private Set<String> _getHtml2htmlXSLTs()
private Set<String> _getHtml2htmleditorXSLTs()
private Set<String> _getHtml2outgoingReferencesXSLTs()
private Set<String> _getHTMLEditor2htmlXSLTs()