org.jfree.layouting.layouter.style.resolver

Class AbstractStyleResolver

public abstract class AbstractStyleResolver extends Object implements StyleResolver

=========================================== LibLayout : a free Java layouting library =========================================== Project Info: http://reporting.pentaho.org/liblayout/ (C) Copyright 2006-2007, by Pentaho Corporation and Contributors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. [Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.] ------------ $Id: AbstractStyleResolver.java 6653 2008-12-02 14:53:40Z tmorgner $ ------------ (C) Copyright 2006-2007, by Pentaho Corporation.
Nested Class Summary
protected abstract static classAbstractStyleResolver.AbstractStyleResolverState
Constructor Summary
protected AbstractStyleResolver()
Method Summary
protected booleancontainsAttrFunction(CSSValue value)
protected voidcopyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element)
LayoutContextcreateAnonymousContext(ContextId id, LayoutContext parent)
protected voidfillState(AbstractStyleResolver.AbstractStyleResolverState state)
protected DocumentContextgetDocumentContext()
LayoutStylegetInitialStyle()
protected StyleKey[]getKeys()
protected LayoutProcessgetLayoutProcess()
protected NamespaceCollectiongetNamespaces()
voidinitialize(LayoutProcess layoutProcess)
protected voidloadInitialStyle()
protected abstract voidresolveOutOfContext(LayoutElement element)
protected CSSValueresolveValue(CSSValue value, LayoutElement element)

Constructor Detail

AbstractStyleResolver

protected AbstractStyleResolver()

Method Detail

containsAttrFunction

protected boolean containsAttrFunction(CSSValue value)

copyStyleInformation

protected void copyStyleInformation(LayoutStyle target, CSSDeclarationRule rule, LayoutElement element)

createAnonymousContext

public LayoutContext createAnonymousContext(ContextId id, LayoutContext parent)

fillState

protected void fillState(AbstractStyleResolver.AbstractStyleResolverState state)

getDocumentContext

protected DocumentContext getDocumentContext()

getInitialStyle

public LayoutStyle getInitialStyle()

getKeys

protected StyleKey[] getKeys()

getLayoutProcess

protected LayoutProcess getLayoutProcess()

getNamespaces

protected NamespaceCollection getNamespaces()

initialize

public void initialize(LayoutProcess layoutProcess)

loadInitialStyle

protected void loadInitialStyle()

resolveOutOfContext

protected abstract void resolveOutOfContext(LayoutElement element)

resolveValue

protected CSSValue resolveValue(CSSValue value, LayoutElement element)