355356357358359360361362363364365
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(); } } if (inf.isExtension()) {
328329330331332333334335336337338
} else { cwriter = writer; } if (value == null && type.isNillable()) { cwriter.writeXsiNil(); } else { type.writeObject(value, cwriter, context); } if (!type.isFlatArray()) {
331332333334335336337338339340341
403404405406407408409410411412413
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(); } } }
979899100101102103104105106107
//skip writing minOccurs=0 stuff if obj is null return; } else if (type.isNillable() && type.isWriteOuter()) { ElementWriter writer = new ElementWriter(output); MessageWriter w2 = writer.getElementWriter(part.getConcreteName()); w2.writeXsiNil(); w2.close(); return; } } ElementWriter writer = new ElementWriter(output);
329330331332333334335336337338339
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(); } }
380381382383384385386387388389390
99100101102103104105106107108109