Changeset 13575
- Timestamp:
- 2007-01-11T14:49:09+13:00 (17 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/service
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractDocumentRetrieve.java
r13270 r13575 519 519 } 520 520 try { 521 Element node_content = getNodeContent(doc_id );521 Element node_content = getNodeContent(doc_id, lang); 522 522 doc.appendChild(node_content); 523 523 } catch (GSException e) { … … 694 694 * can return 695 695 */ 696 abstract protected Element getNodeContent(String doc_id ) throws GSException;696 abstract protected Element getNodeContent(String doc_id, String lang) throws GSException; 697 697 698 698 /** returns the structural information asked for. -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractGS2DocumentRetrieve.java
r13270 r13575 292 292 * <nodeContent>text content or other elements</nodeContent> 293 293 */ 294 abstract protected Element getNodeContent(String doc_id ) throws GSException;294 abstract protected Element getNodeContent(String doc_id, String lang) throws GSException; 295 295 296 296 protected String getMetadata(String node_id, DBInfo info, -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPRetrieve.java
r13270 r13575 92 92 * <nodeContent>text content or other elements</nodeContent> 93 93 */ 94 protected Element getNodeContent(String doc_id) throws GSException { 95 String lang = "en"; // ********** 94 protected Element getNodeContent(String doc_id, String lang) throws GSException { 96 95 long doc_num = this.gdbm_src.OID2Docnum(doc_id); 97 96 if (doc_num == -1) { -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGRetrieve.java
r13567 r13575 96 96 * <nodeContent>text content or other elements</nodeContent> 97 97 */ 98 protected Element getNodeContent(String doc_id) throws GSException { 99 String lang = "en"; // ********** 98 protected Element getNodeContent(String doc_id, String lang) throws GSException { 100 99 long doc_num = this.gdbm_src.OID2Docnum(doc_id); 101 100 if (doc_num == -1) {
Note:
See TracChangeset
for help on using the changeset viewer.