Changeset 28966 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneRetrieve.java
- Timestamp:
- 2014-04-10T14:39:33+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneRetrieve.java
r25649 r28966 107 107 * <nodeContent>text content or other elements</nodeContent> 108 108 */ 109 protected Element getNodeContent(String doc_id, String lang) throws GSException109 protected Element getNodeContent(Document doc, String doc_id, String lang) throws GSException 110 110 { 111 111 String[] args = new String[1]; … … 169 169 } 170 170 171 Element content_node = this.doc.createElement(GSXML.NODE_CONTENT_ELEM);172 Text t = this.doc.createTextNode(doc_content);171 Element content_node = doc.createElement(GSXML.NODE_CONTENT_ELEM); 172 Text t = doc.createTextNode(doc_content); 173 173 content_node.appendChild(t); 174 174 return content_node;
Note:
See TracChangeset
for help on using the changeset viewer.