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(); } }
public void serializeURIs(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) { while (idx3 != len3) { try { idx3 += 1; } catch (java.lang.Exception e) { org.uniprot.uniprot.impl.runtime.Util.handlePrintConversionException(this, e, context); } } } }