public abstract class AbstractSamResponseParser
extends org.eclipse.keyple.core.card.command.AbstractApduResponseParser
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> |
STATUS_TABLE |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSamResponseParser(org.eclipse.keyple.core.card.message.ApduResponse response,
AbstractSamCommandBuilder<? extends AbstractSamResponseParser> builder)
Constructor to build a parser of the APDU response.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.keyple.core.card.command.exception.KeypleCardCommandException |
buildCommandException(java.lang.Class<? extends org.eclipse.keyple.core.card.command.exception.KeypleCardCommandException> exceptionClass,
java.lang.String message,
org.eclipse.keyple.core.card.command.CardCommand commandRef,
java.lang.Integer statusCode) |
void |
checkStatus() |
AbstractSamCommandBuilder<AbstractSamResponseParser> |
getBuilder() |
protected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> |
getStatusTable() |
protected static final java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> STATUS_TABLE
protected AbstractSamResponseParser(org.eclipse.keyple.core.card.message.ApduResponse response,
AbstractSamCommandBuilder<? extends AbstractSamResponseParser> builder)
response - response to parsebuilder - the reference of the builder that created the parserprotected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> getStatusTable()
getStatusTable in class org.eclipse.keyple.core.card.command.AbstractApduResponseParserpublic final AbstractSamCommandBuilder<AbstractSamResponseParser> getBuilder()
getBuilder in class org.eclipse.keyple.core.card.command.AbstractApduResponseParserprotected final org.eclipse.keyple.core.card.command.exception.KeypleCardCommandException buildCommandException(java.lang.Class<? extends org.eclipse.keyple.core.card.command.exception.KeypleCardCommandException> exceptionClass,
java.lang.String message,
org.eclipse.keyple.core.card.command.CardCommand commandRef,
java.lang.Integer statusCode)
buildCommandException in class org.eclipse.keyple.core.card.command.AbstractApduResponseParserpublic void checkStatus()
checkStatus in class org.eclipse.keyple.core.card.command.AbstractApduResponseParser