@ Override protected Object doExec ( Element element , Object scope , String formatterName , Object ... arguments ) { Format format = getFormat ( formatterName ) ; if ( format == null ) { throw new TemplateException ( "Formatting class |%s| not found." , formatterName ) ; } return format ; }
Execute FORMAT operator . Returns requested formatter instance throwing templates exception if not found .