public abstract class AbstractStyleResolver extends Object implements StyleResolver
Modifier | Constructor and Description |
---|---|
protected |
AbstractStyleResolver() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containsResolveableFunction(CSSValue value) |
protected void |
copyStyleInformation(LayoutStyle target,
CSSDeclarationRule rule,
LayoutElement element) |
protected DocumentContext |
getDocumentContext() |
LayoutStyle |
getInitialStyle()
Returns the style for a generic element for which none of the defined selectors (except the global one) match.
|
protected StyleKey[] |
getKeys() |
protected NamespaceCollection |
getNamespaces() |
void |
initialize(DocumentContext documentContext) |
protected void |
loadInitialStyle(DocumentContext context) |
protected abstract void |
resolveOutOfContext(LayoutElement element) |
protected CSSValue |
resolveValue(CSSValue value,
LayoutElement element) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deriveInstance, isPseudoElementStyleResolvable, resolvePageStyle, resolveStyle
public void initialize(DocumentContext documentContext)
initialize
in interface StyleResolver
protected void loadInitialStyle(DocumentContext context)
protected void copyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element)
protected CSSValue resolveValue(CSSValue value, LayoutElement element) throws FunctionEvaluationException
FunctionEvaluationException
protected boolean containsResolveableFunction(CSSValue value)
public LayoutStyle getInitialStyle()
StyleResolver
getInitialStyle
in interface StyleResolver
protected DocumentContext getDocumentContext()
protected StyleKey[] getKeys()
protected NamespaceCollection getNamespaces()
protected abstract void resolveOutOfContext(LayoutElement element)
Copyright © 2018 Hitachi Vantara. All rights reserved.