Last modified: 2012-02-26 17:35:38 UTC
I am working on generic template-controlled result printer. I noticed that (a descendant of) SMWResultPrinter object is used in such a way: 1. Method getMimeType is called first, 2. Then handleParameters method is called. It makes impossible to write ResultPrinter which MIME type depends on arguments, e. g.: {{ #ask: ... | mime-type = application/gpx+xml | ... }} Is it possible to call handleParameters before getMimeType?