Example #1
0
 public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
   StackContext stackEntry = stack.peek();
   SaxEventBufferBuilder bufferBuilder = stackEntry.bufferBuilder;
   if (bufferBuilder != null) {
     bufferBuilder.ignorableWhitespace(ch, start, length);
   }
   super.ignorableWhitespace(ch, start, length);
 }
Example #2
0
 /**
  * Write ignorable whitespace.
  *
  * <p>Pass the event on down the filter chain for further processing.
  *
  * @param ch The array of characters to write.
  * @param start The starting position in the array.
  * @param length The number of characters to write.
  * @exception org.xml.sax.SAXException If there is an error writing the whitespace, or if a
  *     handler further down the filter chain raises an exception.
  * @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)
  */
 public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
   try {
     writeEsc(ch, start, length, false);
     super.ignorableWhitespace(ch, start, length);
   } catch (IOException e) {
     throw new SAXException(e);
   }
 }
Example #3
0
 /**
  * <i>[SAX ContentHandler interface support]</i> Receives notification of ignorable whitespace
  * in element content.
  */
 public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
   this.ensureInitialization();
   super.ignorableWhitespace(ch, start, length);
 }
Example #4
0
 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException {
   if (!isPruning()) {
     super.ignorableWhitespace(ch, start, length);
   }
 }