public void serializeAttributes( be.ac.ulg.montefiore.run.totem.util.jaxb.runtime.XMLSerializer context) throws org.xml.sax.SAXException { if (!has_Value) { context.reportError( com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "Value")); } context.startAttribute("", "name"); try { context.text(((java.lang.String) _Name), "Name"); } catch (java.lang.Exception e) { be.ac.ulg.montefiore.run.totem.util.jaxb.runtime.Util.handlePrintConversionException( this, e, context); } context.endAttribute(); }
public void serializeAttributes( 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()); if (_LlcId != null) { context.startAttribute("", "llcId"); try { context.text(((java.lang.String) _LlcId), "LlcId"); } catch (java.lang.Exception e) { be.ac.ulg.montefiore.run.totem.util.jaxb.runtime.Util.handlePrintConversionException( this, e, context); } context.endAttribute(); } super.serializeAttributes(context); while (idx1 != len1) { idx1 += 1; } }