Class AbstractStyleResolver
java.lang.Object
org.pentaho.reporting.libraries.css.resolver.impl.AbstractStyleResolver
- All Implemented Interfaces:
StyleResolver
- Direct Known Subclasses:
DefaultStyleResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected void
copyStyleInformation
(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element) protected DocumentContext
Returns the style for a generic element for which none of the defined selectors (except the global one) match.protected StyleKey[]
getKeys()
protected NamespaceCollection
void
initialize
(DocumentContext documentContext) protected void
loadInitialStyle
(DocumentContext context) protected abstract void
resolveOutOfContext
(LayoutElement element) protected CSSValue
resolveValue
(CSSValue value, LayoutElement element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pentaho.reporting.libraries.css.resolver.StyleResolver
deriveInstance, isPseudoElementStyleResolvable, resolvePageStyle, resolveStyle
-
Constructor Details
-
AbstractStyleResolver
protected AbstractStyleResolver()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceStyleResolver
-
loadInitialStyle
-
copyStyleInformation
protected void copyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element) -
resolveValue
protected CSSValue resolveValue(CSSValue value, LayoutElement element) throws FunctionEvaluationException - Throws:
FunctionEvaluationException
-
containsResolveableFunction
-
getInitialStyle
Description copied from interface:StyleResolver
Returns the style for a generic element for which none of the defined selectors (except the global one) match.- Specified by:
getInitialStyle
in interfaceStyleResolver
- Returns:
- the initial style.
-
getDocumentContext
-
getKeys
-
getNamespaces
-
resolveOutOfContext
-