Changeset 22300 for other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraGS3DL.java
- Timestamp:
- 2010-06-24T13:45:34+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraGS3DL.java
r15222 r22300 331 331 /* METHODS FOR GETTING THE STRUCTURE OF DOCUMENTS */ 332 332 333 /** @return the XML content of the TOC of just that portion of the TOC which334 * contains the section denoted by sectionID and its direct child subsections.335 * The children are returned in the order they are encountered, which336 * happens to be in the required order of ascending sectionID.337 * @param docPID is a fedora pid identifying a greenstone document object.338 * @param sectionID identifies the particular section in the339 * document denoted by docPID, may be a section name or number. */340 public Element getChildrenOfSectionXML(String docPID, String sectionID)341 throws RemoteException, UnsupportedEncodingException,342 SAXException, IOException;343 344 /** @return a string representing the XML content of the TOC of just345 * that portion of the TOC which contains the section denoted by sectionID346 * and its direct child subsections.347 * The children are returned in the order they are encountered, which348 * happens to be in the required order of ascending sectionID.349 * @param docPID is a fedora pid identifying a greenstone document object.350 * @param sectionID identifies the particular section in the351 * document denoted by docPID, may be a section name or number. */352 public String getChildrenOfSection(String docPID, String sectionID)353 throws RemoteException, UnsupportedEncodingException,354 SAXException, IOException, TransformerException;355 356 333 /** @return the part of the TOC XML file (which outlines doc structure) 357 334 * relating to the given section. This includes the section denoted by 358 335 * sectionID as well as all descendent subsections thereof. 359 * @param docPID is a fedora pid identifying a greenstone document object. 360 * @param sectionID identifies the particular section in the 361 * document denoted by docPID, may be a section name or number. */ 362 public Element getSubsectionXML(String docPID, String sectionID) 363 throws RemoteException, UnsupportedEncodingException, 364 SAXException, IOException; 365 366 /** @return a String representation of the part of the TOC XML file 367 * (which outlines doc structure) relating to the given section. This 368 * includes the section denoted by sectionID as well as all descendent 369 * subsections thereof. 370 * @param docPID is a fedora pid identifying a greenstone document object. 371 * @param sectionID identifies the particular section in the 372 * document denoted by docPID, may be a section name or number. */ 373 public String getSubsection(String docPID, String sectionID) 374 throws RemoteException, UnsupportedEncodingException, SAXException, 375 IOException, TransformerException; 336 * @param docPID - a fedora pid identifying a greenstone document object. 337 * @param sectionID - identifies the particular section in the 338 * document denoted by docPID, may be a section name or number. 339 * @param structure can contain any combination of: ancestors, parent, 340 * siblings, children, descendants, entire, specifying the portion of 341 * the structure to retrieve. 342 * @param info can contain any combination of: siblingPosition, numSiblings, 343 * numChildren, requesting additional information about the structure. */ 344 public Element getSectionStructureXML(String docPID, String sectionID, String structure, String info) 345 throws RemoteException, UnsupportedEncodingException, SAXException, IOException; 376 346 377 347 /* BROWSING */
Note:
See TracChangeset
for help on using the changeset viewer.