예제 #1
0
 public HandlerBuilder setCardIdentifier(RecognitionInfo info) {
   if (info != null) {
     return setCardIdentifier(info.getCardIdentifier());
   } else {
     return this;
   }
 }
예제 #2
0
 public HandlerBuilder setRecognitionInfo(RecognitionInfo info) {
   if (info != null) {
     HandlerBuilder b =
         new HandlerBuilder(
             contextHandle,
             ifdName,
             slotIdx,
             cardApp,
             slotHandle,
             info.getCardType(),
             info.getCardIdentifier(),
             protocolEndpoint,
             sessionId,
             binding);
     return b;
   } else {
     return this;
   }
 }