code: public synchronized void activateOptions() {
          if (templates == null) {
              try {
                  InputStream is = XSLTLayout.class.getResourceAsStream("default.xslt");
                  StreamSource ss = new StreamSource(is);
                  templates = transformerFactory.newTemplates(ss);
                  encoding = Charset.forName("US-ASCII");
                  mediaType = "text/plain";
              } catch (Exception ex) {
                  LogLog.error("Error loading default.xslt", ex);
              }
          }
          activated = true;
      }
docs: {@inheritDoc}