public void write(String text) throws SAXException {
  if (text != null) {
    char[] chars=text.toCharArray();
    contentHandler.characters(chars,0,chars.length);
  }
}

public void write ( String text ) throws SAXException { if ( text != null ) { char [ ] chars = text . toCharArray ( ) ; contentHandler . characters ( chars , 0 , chars . length ) ; } }
generates sax events for the given text
