Class AbstractStyleResolver
java.lang.Object
org.pentaho.reporting.libraries.css.resolver.impl.AbstractStyleResolver
- All Implemented Interfaces:
StyleResolver
- Direct Known Subclasses:
DefaultStyleResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidcopyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element) protected DocumentContextReturns the style for a generic element for which none of the defined selectors (except the global one) match.protected StyleKey[]getKeys()protected NamespaceCollectionvoidinitialize(DocumentContext documentContext) protected voidloadInitialStyle(DocumentContext context) protected abstract voidresolveOutOfContext(LayoutElement element) protected CSSValueresolveValue(CSSValue value, LayoutElement element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.reporting.libraries.css.resolver.StyleResolver
deriveInstance, isPseudoElementStyleResolvable, resolvePageStyle, resolveStyle
-
Constructor Details
-
AbstractStyleResolver
protected AbstractStyleResolver()
-
-
Method Details
-
initialize
- Specified by:
initializein 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:StyleResolverReturns the style for a generic element for which none of the defined selectors (except the global one) match.- Specified by:
getInitialStylein interfaceStyleResolver- Returns:
- the initial style.
-
getDocumentContext
-
getKeys
-
getNamespaces
-
resolveOutOfContext
-