Changeset 3911


Ignore:
Timestamp:
2003-03-19T14:24:03+12:00 (21 years ago)
Author:
kjdon
Message:

removed createDescribeRequest method - its now in GSXML

File:
1 edited

Legend:

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

    r3893 r3911  
    6969    abstract public Element process(Element xml_in);
    7070
    71     /** returns a describe request message */
    72     protected Element createDescribeRequest(String to, String lang,
    73                         String info) {
    74     Element info_message = doc_.createElement(GSXML.MESSAGE_ELEM);
    75     Element info_request = doc_.createElement(GSXML.REQUEST_ELEM);
    76     info_message.appendChild(info_request);
    77     info_request.setAttribute(GSXML.TYPE_ATT, GSXML.REQUEST_TYPE_DESCRIBE);
    78     info_request.setAttribute(GSXML.LANG_ATT, lang);
    79     info_request.setAttribute(GSXML.TO_ATT, to);
    80     if (info != null) {
    81         info_request.setAttribute(GSXML.INFO_ATT, info);
    82     }
    83     return info_message;
    84     }
     71
    8572}
    8673
Note: See TracChangeset for help on using the changeset viewer.