private void writeEscUTF16(String s,int start,int length,boolean isAttVal) throws SAXException {
  String subString=s.substring(start,start + length);
  write(StringEscapeUtils.escapeHtml4(subString));
}

private void writeEscUTF16 ( String s , int start , int length , boolean isAttVal ) throws SAXException { String subString = s . substring ( start , start + length ) ; write ( StringEscapeUtils . escapeHtml4 ( subString ) ) ; }
write an array of data characters with escaping .
