public void writeCharacters(final String text) throws SAXException {
        if (elementStack.isEmpty()) {
            throw new IllegalStateException("Current state does not allow Character writing");
        }
        final char[] ch = text.toCharArray();
        writeCharacters(ch, 0, ch.length);
    }
public void writeCharacters ( final String text ) throws SAXException { if ( elementStack . isEmpty ( ) ) { throw new IllegalStateException ( "Current state does not allow Character writing" ) ; } final char [ ] ch = text . toCharArray ( ) ; writeCharacters ( ch , 0 , ch . length ) ; }
Write characters.

@param text character data
@throws SAXException if processing the event failed
@throws IllegalStateException if start element is not open