|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.jspwiki.modules.WikiModuleInfo
com.ecyrd.jspwiki.plugin.PluginManager.WikiPluginInfo
public static final class PluginManager.WikiPluginInfo
Contains information about a bunch of plugins.
| Field Summary |
|---|
| Fields inherited from class com.ecyrd.jspwiki.modules.WikiModuleInfo |
|---|
m_adminBeanClass, m_author, m_maxVersion, m_minVersion, m_name, m_resource, m_scriptLocation, m_scriptText, m_stylesheetLocation, m_stylesheetText |
| Method Summary | |
|---|---|
String |
getAlias()
Returns the alias name for this object. |
String |
getClassName()
Returns the full class name of this object. |
String |
getIncludeText(String type)
Returns a text for IncludeResources. |
protected void |
initializeFromXML(Element el)
Initializes the ModuleInfo from some standard XML elements which are under the given element. |
protected void |
initializePlugin(WikiEngine engine)
Initializes a plugin, if it has not yet been initialized. |
protected static PluginManager.WikiPluginInfo |
newInstance(Class clazz)
Create a new WikiPluginInfo based on the Class information. |
protected static PluginManager.WikiPluginInfo |
newInstance(String className,
Element el)
Creates a new plugin info object which can be used to access a plugin. |
WikiPlugin |
newPluginInstance()
Creates a new plugin instance. |
String |
toString()
Returns a string suitable for debugging. |
| Methods inherited from class com.ecyrd.jspwiki.modules.WikiModuleInfo |
|---|
compareTo, equals, getAdminBeanClass, getAuthor, getMaxVersion, getMinVersion, getName, getScriptLocation, getStylesheetLocation, getTextResource, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
protected static PluginManager.WikiPluginInfo newInstance(String className,
Element el)
className - Either a fully qualified class name, or a "short" name which is then
checked against the internal list of plugin packages.el - A JDOM Element containing the information about this class.
protected void initializePlugin(WikiEngine engine)
engine - The WikiEngineprotected void initializeFromXML(Element el)
initializeFromXML in class WikiModuleInfoel - The element to parse.protected static PluginManager.WikiPluginInfo newInstance(Class clazz)
clazz - The class to check
public String getClassName()
public String getAlias()
public WikiPlugin newPluginInstance()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
ClassNotFoundException - If the class declared was not found.
InstantiationException - If the class cannot be instantiated-
IllegalAccessException - If the class cannot be accessed.public String getIncludeText(String type)
type - Either "script" or "stylesheet"
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||