7980818283848586878889
try { ElementWriter writer = new ElementWriter(output); MessageWriter w2 = writer.getElementWriter(part.getConcreteName()); if (type.isNillable() && type.isWriteOuter() && obj == null) { w2.writeXsiNil(); return; } type.writeObject(obj, w2, context); w2.close();
300301302303304305306307308309310
cwriter.close(); } else if (inf.isNillable(name)) { cwriter = getWriter(writer, name, type); // Write the xsi:nil if it is null. cwriter.writeXsiNil(); cwriter.close(); } } if (inf.isExtension()) {
404405406407408409410411412413414
writeElement(name, value, type, writer, context); } else if (inf.isNillable(name)) { MessageWriter cwriter = getWriter(writer, name, type); // Write the xsi:nil if it is null. cwriter.writeXsiNil(); cwriter.close(); } } }
260261262263264265266267268269270
} else { cwriter = writer; } if (value == null && type.isNillable()) { cwriter.writeXsiNil(); } else { type.writeObject(value, cwriter, context); } cwriter.close();
384385386387388389390391392393394
writeElement(name, value, type, writer, context); } else if (inf.isNillable(name)) { MessageWriter cwriter = getWriter(writer, name, type); // Write the xsi:nil if it is null. cwriter.writeXsiNil(); cwriter.close(); } }
919293949596979899100101
try { ElementWriter writer = new ElementWriter(output); MessageWriter w2 = writer.getElementWriter(part.getConcreteName()); if (type.isNillable() && type.isWriteOuter() && obj == null) { w2.writeXsiNil(); w2.close(); return; } type.writeObject(obj, w2, context);
330331332333334335336337338339340
} else { cwriter = writer; } if (value == null && type.isNillable()) { cwriter.writeXsiNil(); } else { type.writeObject(value, cwriter, context); } if (!type.isFlatArray()) {
359360361362363364365366367368369