public void onChildText(SAXElement element, SAXText text, ExecutionContext executionContext)
     throws SmooksException, IOException {
   writeStartElement(element);
   if (element.isWriterOwner(writerOwner)) {
     text.toWriter(element.getWriter(writerOwner), rewriteEntities);
   }
 }
 public void writeStartElement(SAXElement element) throws IOException {
   // We set a flag in the cache so as to mark the fact that the start element has been writen
   if (element.isWriterOwner(writerOwner)) {
     if (!isStartWritten(element)) {
       element.setCache(this, true);
       writeStart(element);
     }
   }
 }
 public void writeEndElement(SAXElement element) throws IOException {
   if (element.isWriterOwner(writerOwner)) {
     writeEnd(element);
   }
 }