/** Characters. */
 public void characters(XMLString text, Augmentations augs) throws XNIException {
   if (fElementDepth <= fRemovalElementDepth && fNonElementDepth <= 0) {
     if (text.toString().trim().length() > 0) {
       super.characters(text, augs);
     }
   }
 }
 /** Start element. */
 public void startElement(QName element, XMLAttributes attributes, Augmentations augs)
     throws XNIException {
   if (fElementDepth <= fRemovalElementDepth && handleOpenTag(element, attributes)) {
     super.startElement(element, attributes, augs);
   }
   fElementDepth++;
 }
 /** End element. */
 public void endElement(QName element, Augmentations augs) throws XNIException {
   if (fElementDepth <= fRemovalElementDepth && elementAccepted(element.rawname)) {
     super.endElement(element, augs);
   }
   fElementDepth--;
   if (fElementDepth == fRemovalElementDepth) {
     fRemovalElementDepth = Integer.MAX_VALUE;
   }
 }