Changeset 26506 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
- Timestamp:
- 2012-11-23T00:34:36+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r26499 r26506 593 593 Document theXML = null; 594 594 595 if (output.equals("xml") || output.equals("clientside"))595 if (output.equals("xml") || (output.equals("json")) || output.equals("clientside")) 596 596 { 597 597 // Append some bits and pieces first... … … 628 628 root.appendChild(filepath); 629 629 630 if (output.equals("xml")) 631 return theXML.getDocumentElement(); 632 } 630 if ((output.equals("xml")) || output.equals("json")) { 631 // in the case of "json", calling method responsible for converting to JSON-string 632 return theXML.getDocumentElement(); 633 } 634 } 635 633 636 634 637 Element cgi_param_list = (Element) GSXML.getChildByTagName(request, GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER);
Note:
See TracChangeset
for help on using the changeset viewer.