public class DocbookEnhancementExtensionPoint extends AbstractExtensionPoint<DocbookEnhancer>
| Modifier and Type | Field and Description |
|---|---|
private String |
_docbook2htmleditorXSLT |
private Set<String> |
_docbook2htmlHandlers |
private String |
_docbook2htmlXSLT |
private String |
_docbook2outgoingReferencesXSLT |
private Set<String> |
_htmleditor2docbook2Handlers |
private String |
_htmleditor2docbookXSLT |
static String |
ROLE
The avalon role
|
_extensions| Constructor and Description |
|---|
DocbookEnhancementExtensionPoint() |
| Modifier and Type | Method and Description |
|---|---|
private String |
_createIncludes(Set<String> includes) |
private Set<String> |
_getDocbook2htmleditorXSLTs() |
private Set<String> |
_getDocbook2htmlXSLTs() |
private Set<String> |
_getDocbook2outgoingReferencesXSLTs() |
private Set<String> |
_getHTMLEditor2docbookXSLTs() |
private String |
_readTemplate() |
void |
addExtension(String id,
String pluginName,
String featureName,
Configuration configuration)
Add an extension to this point.
|
String |
getDocbook2htmleditorXSLT()
Get the content of the XSLT file
|
Set<String> |
getDocbook2HTMLHandlers()
Get the list of available handlers
|
String |
getDocbook2htmlXSLT()
Get the content of the XSLT file
|
String |
getDocbook2outgoingReferencesXSLT()
Get the content of the XSLT file
|
Set<String> |
getHTMLEditor2DocbookHandlers()
Get the list of available handlers
|
String |
getHTMLEditor2docbookXSLT()
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, initializegetLogger, setLoggerprivate String _docbook2htmleditorXSLT
private String _docbook2htmlXSLT
private String _htmleditor2docbookXSLT
private String _docbook2outgoingReferencesXSLT
private Set<String> _docbook2htmlHandlers
private Set<String> _htmleditor2docbook2Handlers
public DocbookEnhancementExtensionPoint()
public String getDocbook2htmleditorXSLT()
public String getDocbook2htmlXSLT()
public String getDocbook2outgoingReferencesXSLT()
public String getHTMLEditor2docbookXSLT()
public Set<String> getDocbook2HTMLHandlers()
public Set<String> getHTMLEditor2DocbookHandlers()
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException
ExtensionPointid - 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
ExtensionPointaddExtension() calls.Exception - if something wrong occursprivate String _createIncludes(Set<String> includes)
private String _readTemplate() throws IOException
IOExceptionprivate Set<String> _getDocbook2htmlXSLTs()
private Set<String> _getDocbook2htmleditorXSLTs()
private Set<String> _getDocbook2outgoingReferencesXSLTs()
private Set<String> _getHTMLEditor2docbookXSLTs()