|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.Plugin
scone.examples.servlink.MultilinkExpander
public class MultilinkExpander
is a Sscone-plugin, that creates ``multilink´´-tags to allow multiple destinations for World Wide Web links. These ``multilinks´´ are requested from Google. To let this plugin work, please get a valid key from http://www.google.com/apis/ and store it in the plugins configuration file.
You can use this plugin either on server- or on client side. If you use it on server side please enable and configure the ServerSide-Plugin as well.
The BuildPopupClientside-Plugin is needed to visualize these multilinks.
ATTENTION: This plugin is sloooow, as for the many requests to Google! Please be patient!
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static int |
MAXLINKS
|
Fields inherited from class scone.Plugin |
---|
ACCESSTRACKING, ACCESSTRACKING2, ADDPREAMBLE, CALCFINGERPRINT, CONSIDERINCLUSIONS, CONSIDERKEYWORDS, CONSIDERLINKS, DECENT_HOST_CONDITION, HTDOCCONDITION, NO_HTDOCCONDITION, NOCACHE, NOREQUIREMENTS, PAGETIMEOUT, PARSEDOCUMENT, POSTDATA, RAS, RESOURCEGENERATOR, SAVEBODYTEXT, SAVESOURCECODE, USEPARSINGMEG |
Constructor Summary | |
---|---|
MultilinkExpander()
|
Method Summary | |
---|---|
int |
getRequirements()
Define the requirements of this plugin by implementing this method. |
void |
init()
Initializes a scone plugin. |
void |
terminate()
overwrite this method to be notified when the Proxy terminates |
Methods inherited from class scone.Plugin |
---|
addMeg, disable, displayConfigGUI, displayConfigGUI, enable, getProperties, getRasPort, init, saveProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final int MAXLINKS
Constructor Detail |
---|
public MultilinkExpander()
Method Detail |
---|
public int getRequirements()
Plugin
These requirements have to be combined by the | operator: PARSEDOCUMENT | CONSIDERLINKS will cause scone to create HtmlDocument objects, Link objects and LinkToken objects.
If a feature is not required by any of the registered plugins, scone will not support it at runtime.
getRequirements
in class Plugin
public void init()
Plugin
Scone
framework.
init
in class Plugin
public void terminate()
Plugin
terminate
in class Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |