Package org.eclipse.keypop.card.spi
Interface CardSelectionExtensionSpi
-
public interface CardSelectionExtensionSpi
Extension of the card selection for a specific card extension.Provides the
CardSelectionRequestSpi
and interprets the result to provide aSmartCardSpi
.Backside of the org.eclipse.keypop.reader.selection.spi.CardSelectionExtension interface present in the Keypop Reader API.
An adapter of this interface must also implement CardSelectionExtension.
- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CardSelectionRequestSpi
getCardSelectionRequest()
Gets the card selection request containing the selection data prepared for this selection.SmartCardSpi
parse(CardSelectionResponseApi cardSelectionResponseApi)
Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.
-
-
-
Method Detail
-
getCardSelectionRequest
CardSelectionRequestSpi getCardSelectionRequest()
Gets the card selection request containing the selection data prepared for this selection.- Returns:
- A non-null reference.
- Since:
- 1.0.0
-
parse
SmartCardSpi parse(CardSelectionResponseApi cardSelectionResponseApi) throws ParseException
Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.- Parameters:
cardSelectionResponseApi
- The card selection response.- Returns:
- A non-null reference.
- Throws:
ParseException
- If the card selection response parsing failed.- Since:
- 1.0.0
-
-