public String makeLiteral(Object object,boolean singleQuote){
  StringBuilder sb=new StringBuilder();
  makeLiteral(sb,object,singleQuote);
  return sb.toString();
}

public String makeLiteral ( Object object , boolean singleQuote ) { StringBuilder sb = new StringBuilder ( ) ; makeLiteral ( sb , object , singleQuote ) ; return sb . toString ( ) ; }
makes a freemarker literal from any supported object type .
