protected StringBuilder processLine(String nextElement){
  StringBuilder sb=new StringBuilder(INITIAL_STRING_SIZE);
  for (int j=0; j < nextElement.length(); j++) {
    char nextChar=nextElement.charAt(j);
    processCharacter(sb,nextChar);
  }
  return sb;
}

protected StringBuilder processLine ( String nextElement ) { StringBuilder sb = new StringBuilder ( INITIAL_STRING_SIZE ) ; for ( int j = 0 ; j < nextElement . length ( ) ; j ++ ) { char nextChar = nextElement . charAt ( j ) ; processCharacter ( sb , nextChar ) ; } return sb ; }
processes all the characters in a line .
