Class oclc.z39.Z39present
All Packages Class Hierarchy This Package Previous Next Index
Class oclc.z39.Z39present
java.lang.Object
|
+----oclc.z39.Z39api
|
+----oclc.z39.Z39present
- public class Z39present
- extends Z39api
Z39present creates PresentRequests and translates PresentResponses.
- Version:
- @(#)Z39present.java 1.7 06/11/96
- Author:
- Jenny Colvard
-
errorCode
- Error code if Present failed.
-
errorMsg
- Error message if Present failed.
-
nextResultsSetPosition
- Starting point for next PresentRequest.
-
numberOfRecordsReturned
- Number of records returned in Response.
-
presentStatus
- Status.
-
records
- Array of records returned in Response.
-
recordSyntax
- Syntax of returned records.
-
referenceId
- Value passed to Request and returned by a target Z39.50 server and
Response stores it here.
-
Z39present()
-
-
Request(int, String, int, int, String, String, int, int)
- Creates a Z39.50 PresentRequest.
-
Response(BerString)
- Processes a Z39.50 PresentResponse.
-
Response(DataDir)
- Processes a Z39.50 PresentResponse.
-
toString()
-
referenceId
public int referenceId
- Value passed to Request and returned by a target Z39.50 server and
Response stores it here.
numberOfRecordsReturned
public int numberOfRecordsReturned
- Number of records returned in Response.
nextResultsSetPosition
public int nextResultsSetPosition
- Starting point for next PresentRequest.
presentStatus
public int presentStatus
- Status.
errorCode
public int errorCode
- Error code if Present failed.
errorMsg
public String errorMsg
- Error message if Present failed.
recordSyntax
public String recordSyntax
- Syntax of returned records.
records
public BerString records[]
- Array of records returned in Response.
Z39present
public Z39present()
Request
public BerString Request(int referenceId,
String resultSetName,
int resultSetStartPoint,
int numberOfRecordsRequested,
String ElementSetNames,
String preferredRecordSyntax,
int extraLen,
int offset)
- Creates a Z39.50 PresentRequest.
- Parameters:
- referenceId - Will be returned on Response.
- resultSetName - Identifies the results from a SearchRequest.
- resultSetStartPoint - Relative number of first record to Present.
- numberOfRecordsRequested - Number of records to return.
- ElementSetNames - Requested data in returned records.
- preferredRecordSyntax - Requested syntax of returned records.
- extraLen - Allow this much extra room in the built BER record.
- offset - Build the Request at this offset in the BerString
- Returns:
- BerString containing Request or null if space was unavailable
Response
public void Response(BerString response)
- Processes a Z39.50 PresentResponse.
- Parameters:
- response - BerString containing response.
Response
public void Response(DataDir response)
- Processes a Z39.50 PresentResponse.
- Parameters:
- response - DataDir containing response
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index