* transforming has been received.
* @throws SAXException if an error occurs
*/
public void endTransform() throws SAXException {
XMLPipelineContext context = getPipelineContext();
if (!context.inErrorRecoveryMode()) {
if (getTemplateCount() > 0) {
// contentHandler will be the TransformerHandler at the head of
// the chain. Need to call endDocument() for the transformers to
// actually perform the transformations.
// The DocumentEventFilter will filter the endDocument() event