}
}
private void appendDeletedEntries(final XMLStreamWriter writer, final EntityInfoAggregator eia,
final TombstoneCallback callback) throws EntityProviderException {
TombstoneCallbackResult callbackResult = callback.getTombstoneCallbackResult();
List<Map<String, Object>> tombstoneData = callbackResult.getDeletedEntriesData();
if (tombstoneData != null) {
TombstoneProducer tombstoneProducer = new TombstoneProducer();
tombstoneProducer.appendTombstones(writer, eia, properties, tombstoneData);
}
String deltaLink = callbackResult.getDeltaLink();
if (deltaLink != null) {
try {
writer.writeStartElement(FormatXml.ATOM_LINK);
writer.writeAttribute(FormatXml.ATOM_REL, FormatXml.ATOM_DELTA_LINK);
writer.writeAttribute(FormatXml.ATOM_HREF, deltaLink);