public void serializeBody(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Audience == null) ? 0 : _Audience.size());
   super.serializeBody(context);
   while (idx1 != len1) {
     context.startElement("urn:oasis:names:tc:SAML:2.0:assertion", "Audience");
     int idx_0 = idx1;
     try {
       idx_0 += 1;
     } catch (java.lang.Exception e) {
       com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(
           this, e, context);
     }
     context.endNamespaceDecls();
     int idx_1 = idx1;
     try {
       idx_1 += 1;
     } catch (java.lang.Exception e) {
       com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(
           this, e, context);
     }
     context.endAttributes();
     try {
       context.text(((java.lang.String) _Audience.get(idx1++)), "Audience");
     } catch (java.lang.Exception e) {
       com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(
           this, e, context);
     }
     context.endElement();
   }
 }
 public void serializeBody(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("urn:oasis:names:tc:SAML:2.0:assertion", "AttributeValue");
   if (_Nil) {
     context
         .getNamespaceContext()
         .declareNamespace("http://www.w3.org/2001/XMLSchema-instance", null, true);
   } else {
     super.serializeURIs(context);
   }
   context.endNamespaceDecls();
   if (_Nil) {
     context.startAttribute("http://www.w3.org/2001/XMLSchema-instance", "nil");
     try {
       context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _Nil)), "Nil");
     } catch (java.lang.Exception e) {
       com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(
           this, e, context);
     }
     context.endAttribute();
   } else {
     super.serializeAttributes(context);
   }
   context.endAttributes();
   if (!_Nil) {
     super.serializeBody(context);
   }
   context.endElement();
 }
 public void serializeBody(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue");
   super.serializeURIs(context);
   context.endNamespaceDecls();
   super.serializeAttributes(context);
   context.endAttributes();
   super.serializeBody(context);
   context.endElement();
 }
 public void serializeBody(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("urn:oasis:names:tc:SAML:2.0:metadata", "ContactPerson");
   super.serializeURIs(context);
   context.endNamespaceDecls();
   super.serializeAttributes(context);
   context.endAttributes();
   super.serializeBody(context);
   context.endElement();
 }
 public void serializeBody(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("urn:oasis:names:tc:SAML:2.0:assertion", "AuthnContextDeclRef");
   context.endNamespaceDecls();
   context.endAttributes();
   try {
     context.text(((java.lang.String) _Value), "Value");
   } catch (java.lang.Exception e) {
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(
         this, e, context);
   }
   context.endElement();
 }