StyleResolver
, StatefullComponent
public class FlatStyleResolver extends AbstractStyleResolver
AbstractStyleResolver.AbstractStyleResolverState
Constructor | Description |
---|---|
FlatStyleResolver() |
Modifier and Type | Method | 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, resolveValue
public StyleResolver deriveInstance()
public void initialize(LayoutProcess layoutProcess)
initialize
in interface StyleResolver
initialize
in class AbstractStyleResolver
protected void resolveOutOfContext(LayoutElement element)
resolveOutOfContext
in class AbstractStyleResolver
public 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