| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.domassign |
| Modifier and Type | Method and Description |
|---|---|
static ElementMatcher |
CSSFactory.getElementMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Selector.matches(Element e,
ElementMatcher matcher,
MatchCondition cond)
Matches simple selector against DOM element with an additional condition
|
boolean |
Selector.SelectorPart.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
static void |
CSSFactory.registerElementMatcher(ElementMatcher newElementMatcher) |
| Modifier and Type | Class and Description |
|---|---|
class |
ElementMatcherSafeCI
A case-insensitive matcher that corresponds to the HTML quirks mode matching.
|
class |
ElementMatcherSafeCS
A case-sensitive matcher that corresponds to the XHTML mode matching.
|
class |
ElementMatcherSafeStd
A matcher that corresponds to the HTML standard mode matching.
|
class |
ElementMatcherSimpleCI
A case-insensitive matcher that corresponds to the HTML quirks mode matching.
|
class |
ElementMatcherSimpleCS
A case-sensitive matcher that corresponds to the XHTML mode matching.
|
class |
ElementMatcherSimpleStd
A matcher that corresponds to the HTML standard mode matching.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SelectorImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.ElementNameImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.ElementClassImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.PseudoPageImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.ElementIDImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.ElementAttributeImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
boolean |
SelectorImpl.ElementDOMImpl.matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
| Modifier and Type | Method and Description |
|---|---|
ElementMatcher |
Analyzer.getElementMatcher()
Obtains the matcher to be used for matching the elements.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeData |
AnalyzerUtil.getElementStyle(Element el,
Selector.PseudoDeclaration pseudo,
ElementMatcher matcher,
MatchCondition matchCond,
Analyzer.OrderedRule[] applicableRules) |
static boolean |
AnalyzerUtil.hasPseudoSelectorForAncestor(Analyzer.OrderedRule[] rules,
Element e,
Element targetAncestor,
ElementMatcher matcher,
MatchCondition matchCond,
Selector.PseudoDeclaration pd) |
protected static boolean |
AnalyzerUtil.matchSelector(CombinedSelector sel,
Element e,
ElementMatcher matcher,
MatchCondition matchCond) |
void |
Analyzer.registerElementMatcher(ElementMatcher matcher)
Registers a new element matcher to be used for matching the elements and
selector parts.
|
Copyright © 2018. All rights reserved.