public class XHTMLSerializerExtensionPoint extends AbstractExtensionPoint<String>
Modifier and Type | Field and Description |
---|---|
private Set<String> |
_allowedNamespaces |
static String |
ROLE
The avalon role
|
_extensions
Constructor and Description |
---|
XHTMLSerializerExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(String id,
String pluginName,
String featureName,
Configuration configuration)
Add an extension to this point.
|
Set<String> |
getAllowedNamespaces()
Get the list of allowed namespace
|
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 Set<String> _allowedNamespaces
public XHTMLSerializerExtensionPoint()
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 occurspublic Set<String> getAllowedNamespaces()