code: private <S extends Parameterizable> S getParameterizable(String classNameWithParams, String pkg) throws VectorPrintException {
        S st = (S) getParser(new StringReader(classNameWithParams))
            .setSettings(settings).setPackageName(pkg)
            .parseParameterizable();
        StylerFactoryHelper.initStylingObject(st, writer, document, imageLoader, layerManager, settings, (ElementProducer) imageLoader, this, this);
        if (st instanceof ImportPdf) {
           impdf.add((ImportPdf) st);
        } else if (st instanceof BaseStyler) {
           for (ImportPdf ipdf : impdf) {
              ipdf.addStyler((BaseStyler) st);
           }
        }
        if (st instanceof SimpleColumns) {
           imcol.add((SimpleColumns) st);
        } else if (st instanceof BaseStyler) {
           for (SimpleColumns sc : imcol) {
              sc.addStyler((BaseStyler) st);
           }
        }
        if (st instanceof ImportTiff) {
           imtiff.add((ImportTiff) st);
        } else if (st instanceof BaseStyler) {
           for (ImportTiff ipt : imtiff) {
              ipt.addStyler((BaseStyler) st);
           }
        }
        return st;
     }
docs: turns a configuration like FieldFont(family=verdana) into a styler
  
  @param <S>
  @param classNameWithParams
  @param clazz
  @param pkg
  @return
  @throws VectorPrintException