Hallo Lee,

I think RENDER_PDF is an defined public Constant of the Class Driver. If I?m
right, the following code must function:
driver.setRenderer(Driver.RENDER_PDF);

-----Ursprungliche Nachricht-----
Von: Lee Goddard [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 16. Mai 2002 15:39
An: [EMAIL PROTECTED]
Betreff: Examples


On the examples page of the xml.apache.org/fop site,
http://xml.apache.org/fop/embedding.html
there is this sample:

    Driver driver = new Driver(new InputSource (args[0]),
                               new FileOutputStream(args[1]));
    driver.setRenderer(RENDER_PDF);
    driver.run();

I thought perhaps RENDER_PDF referred to an (imported) constant.
But I from Java1.4 am told:

C:\PXML\_printing\test.java:33: cannot resolve symbol
symbol  : variable RENDER_PDF
location: class test
                         driver.setRenderer(RENDER_PDF);

Could someone please tell me of my error?

TIA
Lee


Lee Goddard
perl -e "while(1){print rand>0.5?chr 47:chr 92}"

Reply via email to