Changeset 9815 for branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractGS3DocumentRetrieve.java
- Timestamp:
- 2005-05-04T16:15:31+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractGS3DocumentRetrieve.java
r9000 r9815 20 20 21 21 // Greenstone classes 22 import org.greenstone.gsdl3.core.GSException; 22 23 import org.greenstone.gsdl3.util.GSXML; 23 24 import org.greenstone.gsdl3.util.GSFile; … … 109 110 } 110 111 111 /** if an id is not a greenstone id (an external id) then translate112 it to a greenstone one*/113 protected String translateExternalId(String node_id){114 // dont have this yet115 return node_id;116 }117 118 112 /** returns the id of the root node of the document containing node node_id. . may be the same as node_id */ 119 113 protected String getRootId(String node_id) { … … 150 144 // assumes only one value per metadata 151 145 protected Element getMetadataList(String node_id, boolean all_metadata, 152 ArrayList metadata_names) { 146 ArrayList metadata_names) 147 throws GSException { 153 148 Element metadata_list = this.doc.createElement(GSXML.METADATA_ELEM+GSXML.LIST_MODIFIER); 154 149 … … 215 210 * <nodeContent>text content or other elements</nodeContent> 216 211 */ 217 abstract protected Element getNodeContent(String doc_id) ;212 abstract protected Element getNodeContent(String doc_id) throws GSException; 218 213 219 214 }
Note:
See TracChangeset
for help on using the changeset viewer.