void dataBufferFlush() throws java.lang.Exception {
        if (dataBufferPos > 0) {
            switch (currentElementContent) {
            case CONTENT_UNDECLARED:
            case CONTENT_EMPTY:

                // do nothing
                break;

            case CONTENT_MIXED:
            case CONTENT_ANY:

                if (handler != null) {
                    handler.charData(dataBuffer, 0, dataBufferPos);
                }

                break;

            case CONTENT_ELEMENTS:

                if (handler != null) {
                    handler.ignorableWhitespace(dataBuffer, 0, dataBufferPos);
                }

                break;
            }

            dataBufferPos = 0;
        }
    }