Search in sources :

Example 6 with Conclusion

use of iso.std.iso_iec._24727.tech.schema.Conclusion in project open-ecard by ecsec.

the class AndroidMarshaller method parseConclusion.

private synchronized Conclusion parseConclusion(XmlPullParser parser) throws XmlPullParserException, IOException, ParserConfigurationException {
    Conclusion conc = new Conclusion();
    int eventType;
    do {
        parser.next();
        eventType = parser.getEventType();
        if (eventType == XmlPullParser.START_TAG) {
            if (parser.getName().equals("RecognizedCardType")) {
                conc.setRecognizedCardType(parser.nextText());
            } else if (parser.getName().equals("CardCall")) {
                conc.getCardCall().add(this.parseCardCall(parser));
            }
        }
    } while (!(eventType == XmlPullParser.END_TAG && parser.getName().equals("Conclusion")));
    return conc;
}
Also used : Conclusion(iso.std.iso_iec._24727.tech.schema.Conclusion)

Aggregations

CardCall (iso.std.iso_iec._24727.tech.schema.CardCall)2 Conclusion (iso.std.iso_iec._24727.tech.schema.Conclusion)2 InitializeFramework (de.bund.bsi.ecard.api._1.InitializeFramework)1 ApplicationCapabilitiesType (iso.std.iso_iec._24727.tech.schema.ApplicationCapabilitiesType)1 BeginTransaction (iso.std.iso_iec._24727.tech.schema.BeginTransaction)1 BeginTransactionResponse (iso.std.iso_iec._24727.tech.schema.BeginTransactionResponse)1 CardApplicationConnect (iso.std.iso_iec._24727.tech.schema.CardApplicationConnect)1 CardApplicationConnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationConnectResponse)1 CardApplicationDisconnect (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnect)1 CardApplicationDisconnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnectResponse)1 CardApplicationPath (iso.std.iso_iec._24727.tech.schema.CardApplicationPath)1 CardApplicationPathResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationPathResponse)1 CardApplicationPathType (iso.std.iso_iec._24727.tech.schema.CardApplicationPathType)1 CardInfo (iso.std.iso_iec._24727.tech.schema.CardInfo)1 CardTypeType (iso.std.iso_iec._24727.tech.schema.CardTypeType)1 ChannelHandleType (iso.std.iso_iec._24727.tech.schema.ChannelHandleType)1 Connect (iso.std.iso_iec._24727.tech.schema.Connect)1 ConnectResponse (iso.std.iso_iec._24727.tech.schema.ConnectResponse)1 ConnectionHandleType (iso.std.iso_iec._24727.tech.schema.ConnectionHandleType)1 RecognitionInfo (iso.std.iso_iec._24727.tech.schema.ConnectionHandleType.RecognitionInfo)1