Flying Saucer (library)

Flying Saucer (also called XHTML renderer) is a pure Java library for rendering XML, XHTML, and CSS 2.1 content.

Flying Saucer
webpage rendered with Flying Saucer
Stable release
9.1.18 / March 5, 2019 (2019-03-05)
Repository
Operating systemCross-platform
TypeXHTML / CSS renderer library
LicenseLGPL
Websitegithub.com/flyingsaucerproject/flyingsaucer

It is intended for embedding web-based user interfaces into Java applications, but cannot be used as a general purpose web browser since it does not support HTML.

Thanks to its capability to save rendered XHTML to PDF (using iText), it is often used as a server side library to generate PDF documents. It has extended support for print-related things like pagination and page headers and footers.

History

Flying Saucer was started in 2004 by Joshua Marinacci,[1] who was later hired by Sun Microsystems. It is still an open-source project unrelated to Sun.

Sun Microsystems once planned to include Flying Saucer in F3,[2] the scripting language based on the Java platform which later became JavaFX Script.

Compliance

Flying saucer has very good XHTML markup and CSS 2.1 standards compliance, even in complex cases.[3][4][5]

gollark: > Internally instances of this class are deep copied every time the command itself is invoked to prevent a race condition mentioned in GH-2123.efficiency™
gollark: This is really very awful control flow and I do not like it.
gollark: This seems like very bees design.
gollark: Well, where OD I TUP them?!?!?
gollark: Perhaps it is rewrite-in-JS time.

See also

References

  1. Marinacci, Joshua (2004-06-14). "My new opensource project: Flying Saucer, an all Java XHTML renderer". Archived from the original on 2008-04-19. Retrieved 2008-06-29.
  2. Oliver, Chris (2006-12-14). "F3 and HTML". Archived from the original on 2013-12-14. Retrieved 2008-06-29. We plan on incorporating the Flying Saucer Java XHTML renderer into F3 eventuallyCS1 maint: BOT: original-url status unknown (link)
  3. "Flying Saucer - Default branch". freshmeat.net. 2007-07-14. Retrieved 2008-06-30.
  4. Marinacci, Joshua (2007-07-14). "Flying Saucer R7 is out". Archived from the original on 2008-09-07. Retrieved 2008-06-30.
  5. Guy, Romain (2007-07-16). "XHTML/CSS Rendering In Swing". Retrieved 2008-06-30.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.