| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.csskit.antlr4 |
| Modifier and Type | Method and Description |
|---|---|
static NetworkProcessor |
CSSFactory.getNetworkProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static StyleMap |
CSSFactory.assignDOM(Document doc,
String encoding,
NetworkProcessor network,
URL base,
MediaSpec media,
boolean useInheritance,
MatchCondition matchCond)
This is the same as
CSSFactory.assignDOM(Document, String, URL, MediaSpec, boolean)
with the possibility of specifying a custom network processor for obtaining data from URL
resources. |
static StyleSheet |
CSSFactory.getUsedStyles(Document doc,
String encoding,
URL base,
MediaSpec media,
NetworkProcessor network)
Loads all the style sheets used from the specified DOM tree.
|
static StyleSheet |
CSSFactory.parse(URL url,
NetworkProcessor network,
String encoding)
Parses URL into StyleSheet
|
static StyleSheet |
CSSFactory.parseString(String css,
URL base,
NetworkProcessor network)
Parses text into a StyleSheet
|
static void |
CSSFactory.setNetworkProcessor(NetworkProcessor networkProcessor) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultNetworkProcessor
Default implementation of the NetworkProcessor that is used when no other
implementation is provided.
|
| 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.
|
protected static CSSInputStream |
CSSParserFactory.getInput(Object source,
NetworkProcessor network,
String encoding,
CSSParserFactory.SourceType type) |
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.
|
static CSSInputStream |
CSSInputStream.urlStream(URL source,
NetworkProcessor network,
String encoding) |
Copyright © 2018. All rights reserved.