Changeset 4980


Ignore:
Timestamp:
2003-07-18T15:58:06+12:00 (21 years ago)
Author:
kjdon
Message:

added a method that actions can use to add parameters to teh receptionists GSParam class - important for params that shouldn't be saved, cos the default is to save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/action/Action.java

    r4856 r4980  
    6060    abstract public Element process(Element xml_in);
    6161
     62    /** tell the param class what its arguments are
     63     * if an action has its own arguments, this should add them to the params
     64     * object - particularly important for args that should not be saved */
     65    public boolean getActionParameters(GSParams params) {
     66    return true;
     67    }
     68
    6269    protected void extractMetadataNames(Element format, HashSet meta_names) {
    6370    //NodeList nodes = format.getElementsByTagNameNS("metadata", "http://www.greenstone.org/configformat");
Note: See TracChangeset for help on using the changeset viewer.