예제 #1
0
 /**
  * This will flush any characters from SAX character calls we've been buffering.
  *
  * @throws SAXException when things go wrong
  */
 protected void flushCharacters() throws SAXException {
   if (ignoringBoundaryWhite) {
     if (!textBuffer.isAllWhitespace()) {
       flushCharacters(textBuffer.toString());
     }
   } else {
     flushCharacters(textBuffer.toString());
   }
   textBuffer.clear();
 }