Changeset 22368 for other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraConnection.java
- Timestamp:
- 2010-07-09T13:48:10+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/FedoraConnection.java
r22300 r22368 92 92 93 93 /** The version of fedora that is supported by class FedoraConnection */ 94 protected static final String SUPPORTED_VERSION = "2.2.1"; 95 94 protected static final String SUPPORTED_VERSION = "3.3"; //"2.2.1"; 95 // 3.3 works with genericSearch version 2.2 96 96 97 /* Some fixed strings of known literals */ 97 protected static final String GET = "/get/";98 protected static final String GET = "/get/"; 98 99 99 100 // The DemoSOAPClient declares and uses the following as a static member … … 101 102 // state, that might explain why we can use it as a static member then. 102 103 /** The object used to access the Fedora API-A web service methods */ 103 protected staticFedoraAPIA APIA;104 protected FedoraAPIA APIA; 104 105 105 106 /** Version of the running fedora server */ 106 107 protected String fedoraVersion; 107 /** The location of the fedora server, usually of the form 108 * http://localhost:8080/fedora */108 /** The location of the fedora server, usually of the form: protocol://host:port/fedora 109 * e.g. (and default) http://localhost:8080/fedora */ 109 110 protected String baseURL; 110 111 … … 121 122 protected String portAddressSuffix; 122 123 123 /** The part of the portAddress that comes after the baseURL. It is usually:124 * "/services/access" */124 /** The part of the portAddress that comes after the baseURL. By default and 125 * usually this is: "/services/access" */ 125 126 protected static final String defaultPortAddressSuffix = "/services/access"; 126 127 127 /** The preferred language of the displa tcontent */128 /** The preferred language of the display content */ 128 129 protected String lang; 129 130 /** The maximum number of collections to retrieve */ … … 350 351 fedoraServerUsername, fedoraServerPassword); 351 352 // will throw Exception if it can't instantiate APIA 352 353 353 354 // if no exception thrown in the initialisation statement above, 354 355 // then we have been authenticated: … … 1647 1648 } else { // already imported Current element, insert at this position 1648 1649 parentOfCurrent.appendChild(current); 1649 } 1650 } 1650 1651 1651 1652 }
Note:
See TracChangeset
for help on using the changeset viewer.