try {
this.startRowElement(xmlWriter,
this.getResult().getRowName(),
this.getResult().getResultType(), this.getResult(), params);
} catch (XMLStreamException e) {
throw new DataServiceFault(e,
"Error in start write row at Query.writeResultEntry");
}
}
/* write the result */
this.getResult().getDefaultElementGroup().execute(xmlWriter, params, queryLevel, false, null);
/* end result wrapper */
if (this.isWriteRow()) {
try {
this.endElement(xmlWriter);
} catch (XMLStreamException e) {
throw new DataServiceFault(e, "Error in end write row at Query.writeResultEntry");
}
}
}