| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.csskit.antlr | |
| cz.vutbr.web.domassign |
| Modifier and Type | Method and Description |
|---|---|
StyleSheet |
RuleFactory.createStyleSheet()
Creates CSS author style sheet
|
StyleSheet |
RuleFactory.createStyleSheet(StyleSheet.Origin origin)
Creates CSS author style sheet with the given origin.
|
StyleSheet |
RuleBlock.getStyleSheet()
Returns the stylesheet where the rule is contained.
|
static StyleSheet |
CSSFactory.getUsedStyles(Document doc,
String encoding,
URL base,
String media)
Loads all the style sheets used from the specified DOM tree.
|
static StyleSheet |
CSSFactory.getUsedStyles(Document doc,
URL base,
String media)
Loads all the style sheets used from the specified DOM tree.
|
static StyleSheet |
CSSFactory.parse(String css)
Parses text into StyleSheet
|
static StyleSheet |
CSSFactory.parse(String fileName,
String encoding)
Parses file into StyleSheet.
|
static StyleSheet |
CSSFactory.parse(URL url,
String encoding)
Parses URL into StyleSheet
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuleBlock.setStyleSheet(StyleSheet sheet)
Sets the owner style sheet for this rule.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StyleSheetImpl
CSS style sheet, entry point.
|
| Modifier and Type | Field and Description |
|---|---|
protected StyleSheet |
AbstractRuleBlock.stylesheet |
| Modifier and Type | Method and Description |
|---|---|
StyleSheet |
RuleFactoryImpl.createStyleSheet() |
StyleSheet |
RuleFactoryImpl.createStyleSheet(StyleSheet.Origin origin) |
StyleSheet |
AbstractRuleBlock.getStyleSheet() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleMediaImpl.setStyleSheet(StyleSheet stylesheet) |
void |
AbstractRuleBlock.setStyleSheet(StyleSheet stylesheet) |
| Modifier and Type | Method and Description |
|---|---|
static StyleSheet |
CSSParserFactory.append(Object source,
String encoding,
CSSParserFactory.SourceType type,
Element inline,
boolean inlinePriority,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
static StyleSheet |
CSSParserFactory.append(Object source,
String encoding,
CSSParserFactory.SourceType type,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
StyleSheet |
CSSTreeParser.inlinestyle() |
abstract StyleSheet |
CSSParserFactory.SourceType.parse(CSSTreeParser parser)
Creates StyleSheet from AST tree
|
static StyleSheet |
CSSParserFactory.parse(Object source,
String encoding,
CSSParserFactory.SourceType type,
Element inline,
boolean inlinePriority,
URL base)
Parses source of given type
|
static StyleSheet |
CSSParserFactory.parse(Object source,
String encoding,
CSSParserFactory.SourceType type,
URL base)
Parses source of given type.
|
StyleSheet |
CSSTreeParser.stylesheet() |
| Modifier and Type | Method and Description |
|---|---|
static StyleSheet |
CSSParserFactory.append(Object source,
String encoding,
CSSParserFactory.SourceType type,
Element inline,
boolean inlinePriority,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
static StyleSheet |
CSSParserFactory.append(Object source,
String encoding,
CSSParserFactory.SourceType type,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
CSSParser |
CSSParser.init(StyleSheet stylesheet)
This function must be called to initialize parser's state.
|
CSSLexer |
CSSLexer.init(StyleSheet stylesheet)
This function must be called to initialize lexer's state.
|
CSSTreeParser |
CSSTreeParser.init(StyleSheet sheet,
Preparator preparator) |
| Constructor and Description |
|---|
Analyzer(StyleSheet sheet)
Creates the analyzer for a single style sheet.
|
DirectAnalyzer(StyleSheet sheet)
Creates the analyzer for a single style sheet.
|
| Constructor and Description |
|---|
Analyzer(List<StyleSheet> sheets)
Creates the analyzer for multiple style sheets.
|
DirectAnalyzer(List<StyleSheet> sheets)
Creates the analyzer for multiple style sheets.
|
Copyright © 2014. All rights reserved.