use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.
the class AndroidMarshaller method parseAction.
private ActionNameType parseAction(XmlPullParser parser) throws XmlPullParserException, IOException {
ActionNameType action = new ActionNameType();
int eventType;
do {
parser.next();
eventType = parser.getEventType();
if (eventType == XmlPullParser.START_TAG) {
if (parser.getName().equals("APIAccessEntryPoint")) {
action.setAPIAccessEntryPoint(APIAccessEntryPointName.fromValue(parser.nextText()));
} else if (parser.getName().equals("ConnectionServiceAction")) {
action.setConnectionServiceAction(ConnectionServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("CardApplicationServiceAction")) {
action.setCardApplicationServiceAction(CardApplicationServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("NamedDataServiceAction")) {
action.setNamedDataServiceAction(NamedDataServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("CryptographicServiceAction")) {
action.setCryptographicServiceAction(CryptographicServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("DifferentialIdentityServiceAction")) {
action.setDifferentialIdentityServiceAction(DifferentialIdentityServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("AuthorizationServiceAction")) {
action.setAuthorizationServiceAction(AuthorizationServiceActionName.fromValue(parser.nextText()));
} else if (parser.getName().equals("LoadedAction")) {
action.setLoadedAction(parser.nextText());
}
}
} while (!(eventType == XmlPullParser.END_TAG && parser.getName().equals("Action")));
return action;
}
use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.
the class CIFCreator method createAction.
private ActionNameType createAction(CardApplicationServiceActionName actionName) {
ActionNameType action = new ActionNameType();
action.setCardApplicationServiceAction(actionName);
return action;
}
use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.
the class CIFCreator method createAction.
private ActionNameType createAction(APIAccessEntryPointName actionName) {
ActionNameType action = new ActionNameType();
action.setAPIAccessEntryPoint(actionName);
return action;
}
use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.
the class CIFCreator method createAction.
private ActionNameType createAction(ConnectionServiceActionName actionName) {
ActionNameType action = new ActionNameType();
action.setConnectionServiceAction(actionName);
return action;
}
use of iso.std.iso_iec._24727.tech.schema.ActionNameType in project open-ecard by ecsec.
the class CIFCreator method createAction.
private ActionNameType createAction(String actionName) {
ActionNameType action = new ActionNameType();
action.setLoadedAction(actionName);
return action;
}
Aggregations