net.sourceforge.blogentis.plugins.impl
Class NavigationExtensionPointImpl
java.lang.Object
net.sourceforge.blogentis.plugins.AbstractExtensionPoint
net.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
net.sourceforge.blogentis.plugins.impl.NavigationExtensionPointImpl
- All Implemented Interfaces:
- IBlogExtensionPoint, IExtensionPoint, INavigationExtensionPoint
- public class NavigationExtensionPointImpl
- extends AbstractBlogExtensionPoint
- implements INavigationExtensionPoint
The implementation of the INavigationExtensionPoint.
- Author:
- abas
Method Summary |
java.util.List |
buildNavigationList(BlogRunData data,
java.lang.String navName)
Builds and return the specified navigation list. |
java.lang.Class |
getExtensionClass()
Get the class or interface that extensions for this extension point have
to implement. |
java.lang.String |
getName()
Get the user-visible name of this extension point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationExtensionPointImpl
public NavigationExtensionPointImpl(IPlugin plugin,
Blog blog)
getName
public java.lang.String getName()
- Description copied from interface:
IExtensionPoint
- Get the user-visible name of this extension point.
- Specified by:
getName
in interface IExtensionPoint
- Returns:
- the name of this extension point.
getExtensionClass
public java.lang.Class getExtensionClass()
- Description copied from interface:
IExtensionPoint
- Get the class or interface that extensions for this extension point have
to implement.
- Specified by:
getExtensionClass
in interface IExtensionPoint
- Returns:
- this extension points' appropriate base class or inteface.
buildNavigationList
public java.util.List buildNavigationList(BlogRunData data,
java.lang.String navName)
- Description copied from interface:
INavigationExtensionPoint
- Builds and return the specified navigation list. If the list has no
elements, the navigation list should not be visible.
- Specified by:
buildNavigationList
in interface INavigationExtensionPoint
- Parameters:
data
- the BlogRunData of the current request.navName
- the name of the navigation list.
- Returns:
- a List of ILinkTo objects.
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.