net.ontopia.topicmaps.nav2.plugins
Class TextPlugin

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.plugins.DefaultPlugin
      extended by net.ontopia.topicmaps.nav2.plugins.TextPlugin
All Implemented Interfaces:
PluginIF

public class TextPlugin
extends DefaultPlugin

INTERNAL: Plugin that returns the a text snippet.


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.nav2.plugins.DefaultPlugin
description, directory, groups, id, params, RP_TOPIC_ID, RP_TOPICMAP_ID, state, target, title, uri
 
Fields inherited from interface net.ontopia.topicmaps.nav2.plugins.PluginIF
ACTIVATED, DEACTIVATED, ERROR
 
Constructor Summary
TextPlugin()
           
 
Method Summary
 java.lang.String generateHTML(ContextTag context)
          INTERNAL: Called by the framework to make the plugin produce the HTML that is going to represent it on a web page in the web application.
 
Methods inherited from class net.ontopia.topicmaps.nav2.plugins.DefaultPlugin
addGroup, equals, getDescription, getGroups, getId, getParameter, getPluginDirectory, getState, getStateAsString, getTarget, getTitle, getURI, hashCode, init, resetGroups, setDescription, setGroups, setId, setParameter, setPluginDirectory, setState, setTarget, setTitle, setURI, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextPlugin

public TextPlugin()
Method Detail

generateHTML

public java.lang.String generateHTML(ContextTag context)
Description copied from interface: PluginIF
INTERNAL: Called by the framework to make the plugin produce the HTML that is going to represent it on a web page in the web application.

Specified by:
generateHTML in interface PluginIF
Overrides:
generateHTML in class DefaultPlugin
Returns:
An HTML string to be written into the page. If the returned string is null it means that the plugin does not wish to be displayed on this page.


Copyright © 2000-2012 Ontopia.