コード例 #1
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_IssueInstant != null) {
     context.startAttribute("", "IssueInstant");
     try {
       context.text(
           com.sun.msv.datatype.xsd.DateTimeType.theInstance.serializeJavaObject(
               ((java.util.Calendar) _IssueInstant), null),
           "IssueInstant");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Nonce != null) {
     context.startAttribute("", "Nonce");
     try {
       context.text(((java.lang.String) _Nonce), "Nonce");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   super.serializeAttributes(context);
 }
コード例 #2
0
ファイル: TimeoutTypeImpl.java プロジェクト: kir-dev/openam
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Id != null) {
     context.startAttribute("", "id");
     try {
       context.text(context.onID(this, ((java.lang.String) _Id)), "Id");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   context.startAttribute("", "maxProcessingTime");
   try {
     context.text(
         javax.xml.bind.DatatypeConverter.printInteger(
             ((java.math.BigInteger) _MaxProcessingTime)),
         "MaxProcessingTime");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endAttribute();
   if (_Actor != null) {
     context.startAttribute("http://schemas.xmlsoap.org/soap/envelope/", "actor");
     try {
       context.text(((java.lang.String) _Actor), "Actor");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (has_MustUnderstand) {
     context.startAttribute("http://schemas.xmlsoap.org/soap/envelope/", "mustUnderstand");
     try {
       context.text(
           javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _MustUnderstand)),
           "MustUnderstand");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
 }
コード例 #3
0
ファイル: ReferenceTypeImpl.java プロジェクト: kir-dev/openam
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Id != null) {
     context.startAttribute("", "Id");
     try {
       context.text(context.onID(this, ((java.lang.String) _Id)), "Id");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Type != null) {
     context.startAttribute("", "Type");
     try {
       context.text(((java.lang.String) _Type), "Type");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_URI != null) {
     context.startAttribute("", "URI");
     try {
       context.text(((java.lang.String) _URI), "URI");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Transforms != null) {
     if (_Transforms instanceof javax.xml.bind.Element) {
       context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
     }
   }
   if (_DigestMethod instanceof javax.xml.bind.Element) {
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
   }
 }
コード例 #4
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_DNSAddress != null) {
     context.startAttribute("", "DNSAddress");
     try {
       context.text(((java.lang.String) _DNSAddress), "DNSAddress");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_IPAddress != null) {
     context.startAttribute("", "IPAddress");
     try {
       context.text(((java.lang.String) _IPAddress), "IPAddress");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
 }
コード例 #5
0
ファイル: ReferenceTypeImpl.java プロジェクト: kir-dev/openam
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Any == null) ? 0 : _Any.size());
   context.startAttribute("", "URI");
   try {
     context.text(((java.lang.String) _URI), "URI");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endAttribute();
   while (idx1 != len1) {
     idx1 += 1;
   }
 }