Пример #1
0
 public void serializeAttributes(
     com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 =
       ((_AssertionIDRefOrAssertionURIRefOrAssertion == null)
           ? 0
           : _AssertionIDRefOrAssertionURIRefOrAssertion.size());
   while (idx1 != len1) {
     {
       java.lang.Object o = _AssertionIDRefOrAssertionURIRefOrAssertion.get(idx1);
       if (o instanceof com.sun.xml.bind.JAXBObject) {
         context.childAsAttributes(
             ((com.sun.xml.bind.JAXBObject)
                 _AssertionIDRefOrAssertionURIRefOrAssertion.get(idx1++)),
             "AssertionIDRefOrAssertionURIRefOrAssertion");
       } else {
         if (o instanceof java.lang.Object) {
           idx1 += 1;
         } else {
           com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handleTypeMismatchError(
               context, this, "AssertionIDRefOrAssertionURIRefOrAssertion", o);
         }
       }
     }
   }
 }
Пример #2
0
 public void serializeURIs(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Extension == null) ? 0 : _Extension.size());
   while (idx1 != len1) {
     if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
     } else {
       idx1 += 1;
     }
   }
 }
 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(be.ac.ulg.montefiore.run.totem.util.jaxb.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Cos == null) ? 0 : _Cos.size());
   super.serializeBody(context);
   while (idx1 != len1) {
     context.startElement("http://jaxb.model.scenario.totem.run.montefiore.ulg.ac.be", "cos");
     int idx_0 = idx1;
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Cos.get(idx_0++)), "Cos");
     context.endNamespaceDecls();
     int idx_1 = idx1;
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Cos.get(idx_1++)), "Cos");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _Cos.get(idx1++)), "Cos");
     context.endElement();
   }
 }
Пример #5
0
 public void serializeBody(ext.hbyd.vpm.model.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_WTDocument == null) ? 0 : _WTDocument.size());
   while (idx1 != len1) {
     context.startElement("", "WTDocument");
     int idx_0 = idx1;
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _WTDocument.get(idx_0++)), "WTDocument");
     context.endNamespaceDecls();
     int idx_1 = idx1;
     context.childAsAttributes(
         ((com.sun.xml.bind.JAXBObject) _WTDocument.get(idx_1++)), "WTDocument");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _WTDocument.get(idx1++)), "WTDocument");
     context.endElement();
   }
 }
Пример #6
0
 public void serializeAttributeBody(
     com.wanci.dmerce.webservice.db.xmlbridge.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = _Row.size();
   while (idx1 != len1) {
     context.startElement("http://www.wanci.com", "row");
     int idx_0 = idx1;
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Row.get(idx_0++)));
     context.endNamespaceDecls();
     int idx_1 = idx1;
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Row.get(idx_1++)));
     context.endAttributes();
     context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Row.get(idx1++)));
     context.endElement();
   }
 }
Пример #7
0
 public void serializeBody(
     com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Any == null) ? 0 : _Any.size());
   while (idx1 != len1) {
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _Any.get(idx1++)), "Any");
   }
 }
Пример #8
0
 public void serializeBody(mx.com.prudential.lps.nba.dto.jaxb.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_GastosEventos == null) ? 0 : _GastosEventos.size());
   while (idx1 != len1) {
     context.startElement("", "gastosEventos");
     int idx_0 = idx1;
     context.childAsURIs(
         ((com.sun.xml.bind.JAXBObject) _GastosEventos.get(idx_0++)), "GastosEventos");
     context.endNamespaceDecls();
     int idx_1 = idx1;
     context.childAsAttributes(
         ((com.sun.xml.bind.JAXBObject) _GastosEventos.get(idx_1++)), "GastosEventos");
     context.endAttributes();
     context.childAsBody(
         ((com.sun.xml.bind.JAXBObject) _GastosEventos.get(idx1++)), "GastosEventos");
     context.endElement();
   }
 }
Пример #9
0
 public void serializeBody(generated.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Content == null) ? 0 : _Content.size());
   context.startElement("", "relationship");
   int idx_0 = idx1;
   while (idx_0 != len1) {
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Content.get(idx_0++)), "Content");
   }
   context.endNamespaceDecls();
   int idx_1 = idx1;
   while (idx_1 != len1) {
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Content.get(idx_1++)), "Content");
   }
   context.endAttributes();
   while (idx1 != len1) {
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _Content.get(idx1++)), "Content");
   }
   context.endElement();
 }
Пример #10
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Extension == null) ? 0 : _Extension.size());
   while (idx1 != len1) {
     if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
     } else {
       context.startElement("urn:liberty:ac:2003-08", "Extension");
       int idx_0 = idx1;
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx_0++)), "Extension");
       context.endNamespaceDecls();
       int idx_1 = idx1;
       context.childAsAttributes(
           ((com.sun.xml.bind.JAXBObject) _Extension.get(idx_1++)), "Extension");
       context.endAttributes();
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
       context.endElement();
     }
   }
 }
Пример #11
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Transform == null) ? 0 : _Transform.size());
   while (idx1 != len1) {
     if (_Transform.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transform.get(idx1++)), "Transform");
     } else {
       context.startElement("http://www.w3.org/2000/09/xmldsig#", "Transform");
       int idx_0 = idx1;
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Transform.get(idx_0++)), "Transform");
       context.endNamespaceDecls();
       int idx_1 = idx1;
       context.childAsAttributes(
           ((com.sun.xml.bind.JAXBObject) _Transform.get(idx_1++)), "Transform");
       context.endAttributes();
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transform.get(idx1++)), "Transform");
       context.endElement();
     }
   }
 }
Пример #12
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_SPKISexpAndAny == null) ? 0 : _SPKISexpAndAny.size());
   while (idx1 != len1) {
     {
       java.lang.Object o = _SPKISexpAndAny.get(idx1);
       if (o instanceof com.sun.xml.bind.JAXBObject) {
         context.childAsAttributes(
             ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
       } else {
         if (o instanceof java.lang.Object) {
           idx1 += 1;
         } else {
           com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util.handleTypeMismatchError(
               context, this, "SPKISexpAndAny", o);
         }
       }
     }
     for (int _0 = 1; ((_0 > 0) && (idx1 != len1)); _0--) {
       {
         java.lang.Object o = _SPKISexpAndAny.get(idx1);
         if (o instanceof com.sun.xml.bind.JAXBObject) {
           context.childAsAttributes(
               ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
         } else {
           if (o instanceof java.lang.Object) {
             idx1 += 1;
           } else {
             com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
                 .handleTypeMismatchError(context, this, "SPKISexpAndAny", o);
           }
         }
       }
     }
   }
 }
Пример #13
0
 public void serializeAttributes(org.uniprot.uniprot.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx3 = 0;
   final int len3 = ((_Evidence == null) ? 0 : _Evidence.size());
   if (true) {
     context.startAttribute("", "evidence");
     while (idx3 != len3) {
       try {
         context.text(
             javax.xml.bind.DatatypeConverter.printInt(
                 ((int) ((java.lang.Integer) _Evidence.get(idx3++)).intValue())),
             "Evidence");
       } catch (java.lang.Exception e) {
         org.uniprot.uniprot.impl.runtime.Util.handlePrintConversionException(this, e, context);
       }
     }
     context.endAttribute();
   }
   if (_Position != null) {
     context.startAttribute("", "position");
     try {
       context.text(
           javax.xml.bind.DatatypeConverter.printInteger(((java.math.BigInteger) _Position)),
           "Position");
     } catch (java.lang.Exception e) {
       org.uniprot.uniprot.impl.runtime.Util.handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Status != null) {
     context.startAttribute("", "status");
     try {
       context.text(((java.lang.String) _Status), "Status");
     } catch (java.lang.Exception e) {
       org.uniprot.uniprot.impl.runtime.Util.handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
 }
Пример #14
0
 public void serializeBody(
     com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Any == null) ? 0 : _Any.size());
   if (_PPID != null) {
     context.startElement("http://schemas.xmlsoap.org/ws/2006/12/federation", "PPID");
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _PPID), "PPID");
     context.endNamespaceDecls();
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _PPID), "PPID");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _PPID), "PPID");
     context.endElement();
   }
   if (_DisplayName != null) {
     context.startElement("http://schemas.xmlsoap.org/ws/2006/12/federation", "DisplayName");
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _DisplayName), "DisplayName");
     context.endNamespaceDecls();
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _DisplayName), "DisplayName");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _DisplayName), "DisplayName");
     context.endElement();
   }
   if (_EMail != null) {
     context.startElement("http://schemas.xmlsoap.org/ws/2006/12/federation", "EMail");
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _EMail), "EMail");
     context.endNamespaceDecls();
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _EMail), "EMail");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _EMail), "EMail");
     context.endElement();
   }
   while (idx1 != len1) {
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _Any.get(idx1++)), "Any");
   }
 }