public class FlatStyleResolver extends AbstractStyleResolver
AbstractStyleResolver.AbstractStyleResolverState| Constructor and Description |
|---|
FlatStyleResolver() |
| Modifier and Type | Method and Description |
|---|---|
StyleResolver |
deriveInstance() |
void |
initialize(LayoutProcess layoutProcess) |
boolean |
isPseudoElementStyleResolvable(LayoutElement element,
java.lang.String pseudo)
Performs tests, whether there is a pseudo-element definition for the given
element.
|
protected void |
resolveOutOfContext(LayoutElement element) |
LayoutStyle |
resolvePageStyle(CSSValue pageName,
PseudoPage[] pseudoPages,
PageAreaType pageArea) |
void |
resolveStyle(LayoutElement node)
Resolves the style.
|
State |
saveState() |
containsAttrFunction, copyStyleInformation, createAnonymousContext, fillState, getDocumentContext, getInitialStyle, getKeys, getLayoutProcess, getNamespaces, loadInitialStyle, resolveValuepublic StyleResolver deriveInstance()
public void initialize(LayoutProcess layoutProcess)
initialize in interface StyleResolverinitialize in class AbstractStyleResolverprotected void resolveOutOfContext(LayoutElement element)
resolveOutOfContext in class AbstractStyleResolverpublic LayoutStyle resolvePageStyle(CSSValue pageName, PseudoPage[] pseudoPages, PageAreaType pageArea)
public boolean isPseudoElementStyleResolvable(LayoutElement element, java.lang.String pseudo)
element - pseudo - public void resolveStyle(LayoutElement node)
node - public State saveState() throws StateException
StateException