| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit.antlr4 |
| Modifier and Type | Method and Description |
|---|---|
static StyleSheet |
CSSFactory.parse(String css)
Deprecated.
This function does not specify the base URL.
CSSFactory.parseString(String, URL)
should be used instead. |
static StyleSheet |
CSSFactory.parse(String fileName,
String encoding)
Parses file into StyleSheet.
|
static StyleSheet |
CSSFactory.parse(URL url,
NetworkProcessor network,
String encoding)
Parses URL into StyleSheet
|
static StyleSheet |
CSSFactory.parse(URL url,
String encoding)
Parses URL into StyleSheet
|
static StyleSheet |
CSSFactory.parseString(String css,
URL base)
Parses text into a StyleSheet
|
static StyleSheet |
CSSFactory.parseString(String css,
URL base,
NetworkProcessor network)
Parses text into a StyleSheet
|
| Modifier and Type | Method and Description |
|---|---|
protected static CSSException |
CSSParserFactory.encapsulateException(Throwable t,
String msg)
Creates new CSSException which encapsulates cause
|
| Modifier and Type | Method and Description |
|---|---|
StyleSheet |
CSSParserFactory.append(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type,
Element inline,
boolean inlinePriority,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
StyleSheet |
CSSParserFactory.append(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type,
StyleSheet sheet,
URL base)
Appends parsed source to passed style sheet.
|
StyleSheet |
CSSParserFactory.parse(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type,
Element inline,
boolean inlinePriority,
URL base)
Parses source of given type
|
StyleSheet |
CSSParserFactory.parse(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type,
URL base)
Parses source of given type.
|
protected StyleSheet |
CSSParserFactory.parseAndImport(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type,
StyleSheet sheet,
Preparator preparator,
URL base,
List<MediaQuery> media)
Parses the source using the given infrastructure and returns the resulting style sheet.
|
Copyright © 2019. All rights reserved.