- Timestamp:
- 2003-03-19T14:18:45+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSXML.java
r3899 r3907 117 117 public static final String REQUEST_TYPE_STATUS = "status"; 118 118 public static final String REQUEST_TYPE_PROCESS = "process"; 119 120 public static final String REQUEST_TYPE_C ONFIGURE = "configure"; // ?121 public static final String REQUEST_TYPE_ CGI = "cgi"; // ?119 public static final String REQUEST_TYPE_CONFIGURE = "configure"; 120 public static final String REQUEST_TYPE_CGI = "cgi"; 121 public static final String REQUEST_TYPE_FORMAT = "format"; 122 122 123 123 public static final String REQUEST_TYPE_ACTION = "action"; // ?? … … 318 318 } 319 319 320 321 /** returns a basic request message */ 322 public static Element createBasicRequest(Document owner, 323 String request_type, String to, 324 String lang) { 325 Element request = owner.createElement(REQUEST_ELEM); 326 request.setAttribute(TYPE_ATT, request_type); 327 request.setAttribute(LANG_ATT, lang); 328 request.setAttribute(TO_ATT, to); 329 return request; 330 } 320 331 public static Element createTextElement(Document owner, String elem_name, 321 332 String text) {
Note:
See TracChangeset
for help on using the changeset viewer.