Changeset 9268 for trunk/gsdl3
- Timestamp:
- 2005-03-03T16:27:12+13:00 (19 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractMGPPSearch.java
r9012 r9268 393 393 } 394 394 } 395 396 /** returns the document type of the doc that the specified node397 belongs to. should be one of398 GSXML.DOC_TYPE_SIMPLE,399 GSXML.DOC_TYPE_PAGED,400 GSXML.DOC_TYPE_HIERARCHY401 */402 abstract protected String getDocType(String node_id);403 404 /** returns true if the node has child nodes */405 abstract protected boolean hasChildren(String node_id);406 /** returns true if the node has a parent */407 abstract protected boolean hasParent(String node_id);408 409 395 410 396 // the following three functions are needed so the base class can -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractMGSearch.java
r9002 r9268 155 155 } 156 156 157 /** returns the document type of the doc that the specified node158 belongs to. should be one of159 GSXML.DOC_TYPE_SIMPLE,160 GSXML.DOC_TYPE_PAGED,161 GSXML.DOC_TYPE_HIERARCHY162 */163 abstract protected String getDocType(String node_id);164 165 /** returns true if the node has child nodes */166 abstract protected boolean hasChildren(String node_id);167 /** returns true if the node has a parent */168 abstract protected boolean hasParent(String node_id);169 170 157 /** do the actual query */ 171 158 protected Element processTextQuery(Element request)
Note:
See TracChangeset
for help on using the changeset viewer.