org.ceryle.wiki.plugin.form
Class BibRefPlugin

java.lang.Object
  extended by com.ecyrd.jspwiki.forms.FormElement
      extended by org.ceryle.wiki.plugin.form.FormPlugin
          extended by org.ceryle.wiki.plugin.form.BibRefPlugin
All Implemented Interfaces:
WikiPlugin, PluginConstants
Direct Known Subclasses:
BibRef

public class BibRefPlugin
extends FormPlugin
implements WikiPlugin, PluginConstants

The BibRefPlugin provides a simple bibliographic form template by extending the FormPlugin with a common set of bibliographic form fields.

Author:
Murray Altheim

Field Summary
 
Fields inherited from class org.ceryle.wiki.plugin.form.FormPlugin
CANCEL_BUTTON_NAME, cancelButtonLabel, editButtonLabel, log, m_capitalize, m_checkAboutPage, m_checkPermissions, m_debug, m_engine, m_formname, m_id, m_ignore, m_mode, m_pluginName, m_prefix, m_prefixes, m_prototype, m_style, m_submitServlet, m_useSelect, m_verbose, MAX_FIELD_LENGTH, MODE_CANCEL, MODE_EDIT, MODE_INIT, MODE_SAVE, MODE_SELECT, MODE_VIEW, PARAM_ABOUT, PARAM_CAPITALIZE, PARAM_LABEL_CANCEL, PARAM_LABEL_EDIT, PARAM_LABEL_SAVE, PARAM_PREFIX, PARAM_STYLE, PARAM_TEST, PARAM_VERBOSE, REMOVE_TAG, saveButtonLabel, SELECT_BUTTON_NAME, selectButtonLabel, SIZEMAP_PREFIX, SUBMIT_BUTTON_NAME, unknownUser
 
Fields inherited from class com.ecyrd.jspwiki.forms.FormElement
FORM_VALUES_CARRIER, HANDLERPARAM_PREFIX, HIDE_SUCCESS, PARAM_ELEMENT, PARAM_FORM, PARAM_FORMNAMEHIDDEN, PARAM_HANDLER, PARAM_HIDEFORM, PARAM_INPUTNAME, PARAM_POPULATE, PARAM_SUBMITHANDLER, PARAM_VALUE
 
Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin
CORE_PLUGINS_RESOURCEBUNDLE
 
Fields inherited from interface org.ceryle.wiki.plugin.util.PluginConstants
ACL, AOP, APOS_ENT, ASTERISK, BCL, BOP, BR, CAPCL, CAPOP, CLATT, COLON, COMMA, DIV_class, DIV_style, DIVCL, DOT, EQ, EQQUO, EQSQUO, FALSE, FORMCL, FORMOP, GET, ICL, INPUTOP, IOP, LABELCL, LABELFOR, LABELOP, LCURL, LICL, LIOP, LPAR, LSBR, MT, NBSP, NL, OLCL, OLOP, P_class, PCL, PLUGCL, PLUGO, POP, POST, QUO, QUOCL, QUOETCL, RCURL, RPAR, RSBR, SEMI, SP, SPAN_class, SPANCL, SPANOP, SQUO, TABLECL, TABLEOP, TDCL, TDOP, THCL, THOP, TRCL, TROP, TRUE, TTCL, TTOP, ULCL, ULOP, UNDER
 
Constructor Summary
BibRefPlugin()
           
 
Method Summary
 String execute(WikiContext context, Map params)
          Adds a selection of new parameters (as name-value pairs of Strings) as this plugin's default parameter map, then calls the superclass' method.
 void postSave(WikiContext context, List controls)
          A stub no-op method for compliance with the abstract class.
 void postWrite(WikiContext context, List controls, StringBuffer out)
          A stub no-op method for compliance with the abstract class.
 void preSave(WikiContext context, List controls)
          A stub no-op method for compliance with the abstract class.
 void preWrite(WikiContext context, List controls, StringBuffer out)
          A stub no-op method for compliance with the abstract class.
 
Methods inherited from class org.ceryle.wiki.plugin.form.FormPlugin
checkAuthorization, createFormControls, error, getAbout, getIgnoreParams, getMode, getModeName, getSizeFor, getSizeMap, getStyleParameter, lockPage, printTest, setSizeFor, transferSubmission, unlockPage, writeFormOutput, writePageText
 
Methods inherited from class com.ecyrd.jspwiki.forms.FormElement
getFormInfo, storeFormInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BibRefPlugin

public BibRefPlugin()
Method Detail

execute

public String execute(WikiContext context,
                      Map params)
Adds a selection of new parameters (as name-value pairs of Strings) as this plugin's default parameter map, then calls the superclass' method. This also sets the prefix to "DC" (Dublin Core) and capitalization to true.

Specified by:
execute in interface WikiPlugin
Overrides:
execute in class FormPlugin
Parameters:
context -
params -
Returns:
the generated output to be displayed on the wiki page.
See Also:
WikiPlugin.execute(com.ecyrd.jspwiki.WikiContext,java.util.Map)

preSave

public void preSave(WikiContext context,
                    List controls)
A stub no-op method for compliance with the abstract class.

Specified by:
preSave in class FormPlugin
Parameters:
context - the WikiContext of the form session
controls - the List of FormControls

postSave

public void postSave(WikiContext context,
                     List controls)
A stub no-op method for compliance with the abstract class.

Specified by:
postSave in class FormPlugin
Parameters:
context - the WikiContext of the form session
controls - the List of FormControls

preWrite

public void preWrite(WikiContext context,
                     List controls,
                     StringBuffer out)
A stub no-op method for compliance with the abstract class.

Specified by:
preWrite in class FormPlugin
Parameters:
context - the WikiContext of the form session
controls - the List of FormControls
out - the output buffer

postWrite

public void postWrite(WikiContext context,
                      List controls,
                      StringBuffer out)
A stub no-op method for compliance with the abstract class.

Specified by:
postWrite in class FormPlugin
Parameters:
context - the WikiContext of the form session
controls - the List of FormControls
out - the output buffer


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.