public void write(SAML11AuthorityBindingType authority) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.AUTHORITY_BINDING, SAML11Constants.ASSERTION_11_NSURI); QName authorityKind = authority.getAuthorityKind(); StaxUtil.writeAttribute(writer, SAML11Constants.AUTHORITY_KIND, authorityKind); String binding = authority.getBinding().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.BINDING, binding); String location = authority.getLocation().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.LOCATION, location); StaxUtil.writeEndElement(writer); }
public void write(SAML11AuthorityBindingType authority) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.AUTHORITY_BINDING, SAML11Constants.ASSERTION_11_NSURI); QName authorityKind = authority.getAuthorityKind(); StaxUtil.writeAttribute(writer, SAML11Constants.AUTHORITY_KIND, authorityKind); String binding = authority.getBinding().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.BINDING, binding); String location = authority.getLocation().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.LOCATION, location); StaxUtil.writeEndElement(writer); }
public void write(SAML11AuthorityBindingType authority) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.AUTHORITY_BINDING, SAML11Constants.ASSERTION_11_NSURI); QName authorityKind = authority.getAuthorityKind(); StaxUtil.writeAttribute(writer, SAML11Constants.AUTHORITY_KIND, authorityKind); String binding = authority.getBinding().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.BINDING, binding); String location = authority.getLocation().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.LOCATION, location); StaxUtil.writeEndElement(writer); }
public void write(SAML11AuthorityBindingType authority) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.AUTHORITY_BINDING, SAML11Constants.ASSERTION_11_NSURI); QName authorityKind = authority.getAuthorityKind(); StaxUtil.writeAttribute(writer, SAML11Constants.AUTHORITY_KIND, authorityKind); String binding = authority.getBinding().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.BINDING, binding); String location = authority.getLocation().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.LOCATION, location); StaxUtil.writeEndElement(writer); }
public void write(SAML11AuthorityBindingType authority) throws ProcessingException { StaxUtil.writeStartElement(writer, ASSERTION_PREFIX, SAML11Constants.AUTHORITY_BINDING, SAML11Constants.ASSERTION_11_NSURI); QName authorityKind = authority.getAuthorityKind(); StaxUtil.writeAttribute(writer, SAML11Constants.AUTHORITY_KIND, authorityKind); String binding = authority.getBinding().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.BINDING, binding); String location = authority.getLocation().toString(); StaxUtil.writeAttribute(writer, SAML11Constants.LOCATION, location); StaxUtil.writeEndElement(writer); }