Flying Saucer (library)
   HOME

TheInfoList



OR:

Flying Saucer (also called XHTML renderer) is a pure
Java Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
library for rendering
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...
,
XHTML Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated. While HTML, pr ...
, and CSS 2.1 content. It is intended for embedding web-based user interfaces into Java applications, but cannot be used as a general purpose
web browser A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
since it does not support
HTML Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
. Thanks to its capability to save rendered XHTML to PDF (using
iText iText is a library for creating and manipulating PDF files in Java and . NET. It was created in 2000 and written by Bruno Lowagie. The source code was initially distributed as open source under the Mozilla Public License or the GNU Library Gene ...
), 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, who was later hired by
Sun Microsystems Sun Microsystems, Inc., often known as Sun for short, was an American technology company that existed from 1982 to 2010 which developed and sold computers, computer components, software, and information technology services. Sun contributed sig ...
. It is still an open-source project unrelated to Sun.
Sun Microsystems Sun Microsystems, Inc., often known as Sun for short, was an American technology company that existed from 1982 to 2010 which developed and sold computers, computer components, software, and information technology services. Sun contributed sig ...
once planned to include Flying Saucer in F3, the scripting language based on the
Java platform Java is a set of computer software and specifications that provides a software platform for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms fr ...
which later became
JavaFX Script JavaFX Script was a scripting language designed by Sun Microsystems, forming part of the JavaFX family of technologies on the Java Platform. JavaFX targeted the Rich Internet Application domain (competing with Adobe Flex and Microsoft Silverligh ...
.


Compliance

Flying saucer has very good
XHTML Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated. While HTML, pr ...
markup and CSS 2.1 standards compliance, even in complex cases.


See also

*
JavaFX JavaFX is a software platform for creating and delivering desktop applications, as well as rich web applications that can run across a wide variety of devices. JavaFX has support for desktop computers and web browsers on Microsoft Windows, Linu ...
*
List of web browsers The following is a list of web browsers that are notable. Historical Layout engines * Gecko (software), Gecko is developed by the Mozilla Foundation. ** Goanna (software), Goanna is a fork of Gecko developed by Moonchild Productions ...


References


External links


Flying Saucer Project Website on Github


*
Generating PDFs with Java, Flying Saucer and Thymeleaf (Part 1)

Generating PDFs with Java, Flying Saucer and Thymeleaf (Part 2)
Free PDF software Java (programming language) libraries {{compu-library-stub