1 package org.kuali.ole.ncip.service.impl;
2
3
4
5
6 public class NonSip2CheckinItemServiceImplImpl extends CheckinItemServiceImpl {
7
8 @Override
9 public String prepareResponse() {
10 switch (responseFormatType) {
11 case ("XML"):
12 response = getResponseHandler().marshalObjectToXml(getOleCheckInItem());
13 break;
14 case ("JSON"):
15 response = getResponseHandler().marshalObjectToJson(getOleCheckInItem());
16 break;
17 }
18
19 return response;
20 }
21
22 @Override
23 public String getOperatorId(String operatorId) {
24 return operatorId;
25 }
26 }