Package org.ametys.cms.tag
Class AbstractTagProviderExtensionPoint<T extends Tag>
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<TagProvider<T>>
org.ametys.cms.tag.AbstractTagProviderExtensionPoint<T>
- Type Parameters:
T
- The tag class
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<TagProvider<T>>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
- Direct Known Subclasses:
CategoryProviderExtensionPoint
,KeywordProviderExtensionPoint
,ProjectTagProviderExtensionPoint
,TagProviderExtensionPoint
,ThemeProviderExtensionPoint
public abstract class AbstractTagProviderExtensionPoint<T extends Tag>
extends AbstractThreadSafeComponentExtensionPoint<TagProvider<T>>
This class is in charge to load and initialize tag providers.
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractTagProviderExtensionPoint
public AbstractTagProviderExtensionPoint()
-
-
Method Details
-
getTag
Get the tag- Parameters:
name
- The tag's namecontextualParameters
- Contextual parameters- Returns:
- the tag or null if tag is not found
-
hasTag
Check if the tag exists- Parameters:
name
- The tag's namecontextualParameters
- Contextual parameters- Returns:
true
if the tag is found,false
otherwise
-
getTagsNodeName
Get the tags node name- Returns:
- the tags node name
-
getTagsNodeType
Get the tag node type- Returns:
- the tag node type
-