Aspose.CSS for Java
Aspose.CSS’s CSS layout engine on Java, its own native build: loads real HTML, exposes a standards-conformant DOM, and performs CSS parsing, cascade and layout with a rendering API that converts to raster images and PDF.
On Java, Aspose.CSS runs as its own independently built, native engine for CSS parsing, cascade and layout, the same architecture every platform in the family uses. It loads real HTML, exposes a standards-conformant DOM, and converts to raster images and PDF through a shared rendering API. Aspose.CSS continues in development for .NET, C++, Python and TypeScript alongside Java.
Advanced Java CSS API Features
Encoding detection & tokenizing
Tree construction
Standards-conformant DOM
Serialization
URL handling
CSSOM
286-property CSS cascade
CSS parsing
Layout engine
Rendering API
Raster image conversion
PDF conversion
A Standards-Conformant DOM on Java
On Java, Aspose.CSS's native engine loads real HTML and exposes a standards-conformant DOM, built independently for the Java platform rather than carried over from any other implementation. The DOM is the structure every later rendering step operates on.
PDF Conversion on Java
Aspose.CSS for Java converts the rendered result to PDF, one of the two output formats the engine targets alongside raster images. This conversion runs through Java's own native build of the engine.