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;
}
Aggregations