public static ContactTypeType fromValue(String v) { for (ContactTypeType c : ContactTypeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
if (attr == null) throw new ParsingException(ErrorCodes.REQD_ATTRIBUTE + "contactType"); ContactType contactType = new ContactType(ContactTypeType.fromValue(StaxParserUtil.getAttributeValue(attr)));
StaxUtil.writeAttribute(writer, JBossSAMLConstants.CONTACT_TYPE.get(), attribs.value());
if (attr == null) throw logger.parserRequiredAttribute("contactType"); ContactType contactType = new ContactType(ContactTypeType.fromValue(StaxParserUtil.getAttributeValue(attr)));
StaxUtil.writeAttribute(writer, JBossSAMLConstants.CONTACT_TYPE.get(), attribs.value());
if (attr == null) throw logger.parserRequiredAttribute("contactType"); ContactType contactType = new ContactType(ContactTypeType.fromValue(StaxParserUtil.getAttributeValue(attr)));
StaxUtil.writeAttribute(writer, JBossSAMLConstants.CONTACT_TYPE.get(), attribs.value());
public static ContactTypeType fromValue(String v) { for (ContactTypeType c : ContactTypeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
if (attr == null) throw new ParsingException(ErrorCodes.REQD_ATTRIBUTE + "contactType"); ContactType contactType = new ContactType(ContactTypeType.fromValue(StaxParserUtil.getAttributeValue(attr)));
StaxUtil.writeAttribute(writer, JBossSAMLConstants.CONTACT_TYPE.get(), attribs.value());
public static ContactTypeType fromValue(String v) { for (ContactTypeType c : ContactTypeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
if (attr == null) throw logger.parserRequiredAttribute("contactType"); ContactType contactType = new ContactType(ContactTypeType.fromValue(StaxParserUtil.getAttributeValue(attr)));
StaxUtil.writeAttribute(writer, JBossSAMLConstants.CONTACT_TYPE.get(), attribs.value());
public static ContactTypeType fromValue(String v) { for (ContactTypeType c : ContactTypeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }