Package org.ametys.core.cocoon
Class XHTMLSerializerExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.AbstractExtensionPoint<String>
org.ametys.core.cocoon.XHTMLSerializerExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<String>
,Initializable
,Component
This extension point allows to configure the xhtml serializer by adding new plugins
-
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 allowed namespacevoid
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
-
XHTMLSerializerExtensionPoint
public XHTMLSerializerExtensionPoint()
-
-
Method Details
-
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
-
getAllowedNamespaces
Get the list of allowed namespace- Returns:
- The non null list of namespaces
-