Examples of ElementSetNames_type


Examples of org.loc.z3950.codec.Z39_50_APDU_1995.ElementSetNames_type

        presentRequest.numberOfRecordsRequested = BigInteger.valueOf(this.numOfRecords);
        presentRequest.preferredRecordSyntax = ProtocolOIDRegister.getInstance().lookupByName(this.recordFormat).getValue();

        if (this.elementSetName != null)
        {
            ElementSetNames_type elementSetNameType = new ElementSetNames_type();
            elementSetNameType.which = ElementSetNames_type.genericelementsetname_CID;
            elementSetNameType.o = this.elementSetName;

            presentRequest.recordComposition = new recordComposition_inline9_type();
            presentRequest.recordComposition.which = recordComposition_inline9_type.simple_CID;
View Full Code Here

Examples of org.loc.z3950.codec.Z39_50_APDU_1995.ElementSetNames_type

            searchRequest.mediumSetPresentNumber = BigInteger.valueOf(mediumSetPresentNumber);
            searchRequest.replaceIndicator = Boolean.TRUE;
            searchRequest.resultSetName = resultSetName;
            searchRequest.databaseNames = new ArrayList(query.getDatabases());
            searchRequest.preferredRecordSyntax = ProtocolOIDRegister.getInstance().oidByName(this.recordSyntax);
            searchRequest.smallSetElementSetNames = new ElementSetNames_type();
            searchRequest.smallSetElementSetNames.which = ElementSetNames_type.genericelementsetname_CID;
            searchRequest.smallSetElementSetNames.o = smallSetElementNames;
            searchRequest.mediumSetElementSetNames = new ElementSetNames_type();
            searchRequest.mediumSetElementSetNames.which = ElementSetNames_type.genericelementsetname_CID;
            searchRequest.mediumSetElementSetNames.o = mediumSetElementNames;
            searchRequest.query = Type1Encoder.encode(query, "utf-8");

            return toPDU(PDU_type.searchrequest_CID, searchRequest);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.