Top Description Methods
com.openhtmltopdf.css.extend

public Interface StylesheetFactory

Known Direct Implementers
com.openhtmltopdf.context.StylesheetFactoryImpl
Imports
java.io.Reader, com.openhtmltopdf.css.sheet.Ruleset, .Stylesheet, .StylesheetInfo

A Factory class for Cascading Style Sheets. Sheets are parsed using a single parser instance for all sheets. Sheets are cached by URI using a LRU test, but timestamp of file is not checked.
Author
Torbjoern Gannholm

Method Summary

Modifier and TypeMethod and Description
public Stylesheet
public Stylesheet
parse(Reader reader, StylesheetInfo info)

public Ruleset
parseStyleDeclaration(int author, String style)

Method Detail

getStylesheetback to summary
public Stylesheet getStylesheet(StylesheetInfo si)
parseback to summary
public Stylesheet parse(Reader reader, StylesheetInfo info)
parseStyleDeclarationback to summary
public Ruleset parseStyleDeclaration(int author, String style)