public String emitPattern(boolean withWhiteSpace){
  StringBuffer result=new StringBuffer();
  for (int i=0; i < patterns.size(); ++i) {
    PatternEntry entry=patterns.get(i);
    if (entry != null) {
      entry.addToBuffer(result,true,withWhiteSpace,null);
    }
  }
  return result.toString();
}

public String emitPattern ( boolean withWhiteSpace ) { StringBuffer result = new StringBuffer ( ) ; for ( int i = 0 ; i < patterns . size ( ) ; ++ i ) { PatternEntry entry = patterns . get ( i ) ; if ( entry != null ) { entry . addToBuffer ( result , true , withWhiteSpace , null ) ; } } return result . toString ( ) ; }
emits the pattern for collation builder .
