bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/JspDocumentParser.java
public void characters(char[] buf, int offset, int len) {

        if (charBuffer == null) {
            charBuffer = new StringBuilder();
        }
        charBuffer.append(buf, offset, len);
    }
public void characters(char[] buf, int offset, int len) {

        if (charBuffer == null) {
            charBuffer = new StringBuilder();
        }
        charBuffer.append(buf, offset, len);
    }
/*
Receives notification of character data inside an element.

The SAX does not call this method with all of the template text, but may
invoke this method with chunks of it.  This is a problem when we try
to determine if the text contains only whitespaces, or when we are
looking for an EL expression string.  Therefore it is necessary to
buffer and concatenate the chunks and process the concatenated text
later (at beginTag and endTag)

@param buf The characters
@param offset The start position in the character array
@param len The number of characters to use from the character array

@throws SAXException