Changeset 8671


Ignore:
Timestamp:
2004-11-25T15:34:13+13:00 (19 years ago)
Author:
kjdon
Message:

changed createParameterList to addParametersToList

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSXML.java

    r8488 r8671  
    468468    }
    469469
    470     public static Element createParameterList(Document owner,
    471                           HashMap params) {
    472 
    473     Element list = owner.createElement(PARAM_ELEM+LIST_MODIFIER);
     470    public static void addParametersToList(Document owner, Element param_list,
     471                       HashMap params) {
    474472    Set items = params.entrySet();
    475473    Iterator i = items.iterator();
    476474    while(i.hasNext()) {
    477475        Map.Entry m = (Map.Entry)i.next();
    478         list.appendChild(createParameter(owner, (String)m.getKey(), (String)m.getValue()));
    479     }
    480     return list;
    481     }
    482    
     476        param_list.appendChild(createParameter(owner, (String)m.getKey(), (String)m.getValue()));
     477    }
     478   
     479    }
     480
    483481    public static Element createParameterDescription(Document owner,
    484482                             String id,
Note: See TracChangeset for help on using the changeset viewer.