| Modifier and Type | Field and Description |
|---|---|
| private final CSSParser | |
| private final Map | _seenStylesheetUris
This may avoid @import loops, ie. |
| private UserAgentCallback | _userAgentCallback
the UserAgentCallback to resolve uris |
| private static final int | MAX_STYLESHEET_INCLUDES
The maximum number of times a stylesheet uri can be link or imported before we give up and conclude there is a loop. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Stylesheet | Returns: The stylesheetThe StylesheetInfo for this sheet info)Implements com. Returns a sheet by its key null if not able to load |
| public Stylesheet | parse(Reader reader, StylesheetInfo info)
Implements com.
|
| private Stylesheet | |
| public Ruleset | parseStyleDeclaration(int origin, String styleDeclaration)
Implements com.
|
| public void | |
| public void |
| _cssParser | back to summary |
|---|---|
| private final CSSParser _cssParser | |
| _seenStylesheetUris | back to summary |
|---|---|
| private final Map<String, Integer> _seenStylesheetUris This may avoid @import loops, ie. one.css includes two.css which then includes one.css. | |
| _userAgentCallback | back to summary |
|---|---|
| private UserAgentCallback _userAgentCallback the UserAgentCallback to resolve uris | |
| MAX_STYLESHEET_INCLUDES | back to summary |
|---|---|
| private static final int MAX_STYLESHEET_INCLUDES The maximum number of times a stylesheet uri can be link or imported before we give up and conclude there is a loop. | |
| StylesheetFactoryImpl | back to summary |
|---|---|
| public StylesheetFactoryImpl(UserAgentCallback userAgentCallback) | |
| getStylesheet | back to summary |
|---|---|
| public Stylesheet getStylesheet(StylesheetInfo info) Implements com. Returns a sheet by its key null if not able to load
| |
| parse | back to summary |
|---|---|
| public Stylesheet parse(Reader reader, StylesheetInfo info) Implements com. | |
| parse | back to summary |
|---|---|
private Stylesheet parse(StylesheetInfo info)
| |
| parseStyleDeclaration | back to summary |
|---|---|
| public Ruleset parseStyleDeclaration(int origin, String styleDeclaration) Implements com. | |
| setSupportCMYKColors | back to summary |
|---|---|
| public void setSupportCMYKColors(boolean b) | |
| setUserAgentCallback | back to summary |
|---|---|
| public void setUserAgentCallback(UserAgentCallback userAgent) | |