info.magnolia.module.templatingkit.style
Class BodyClassResolver

java.lang.Object
  extended by info.magnolia.module.templatingkit.style.BodyClassResolver

public class BodyClassResolver
extends Object

Default BodyClassResolver. The body class attributes are used to control the number of columns and the column width. It provides for instance information about whether we have vertical navigation or not.

Version:
$Id$
Author:
pbracher

Constructor Summary
BodyClassResolver()
           
 
Method Summary
 String[] getAllowedBodyClasses()
           
 String resolveBodyClass(STKPageModel<? extends STKPage> model)
           
 void setAllowedBodyClasses(String[] allowedBodyClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyClassResolver

public BodyClassResolver()
Method Detail

setAllowedBodyClasses

public void setAllowedBodyClasses(String[] allowedBodyClasses)

getAllowedBodyClasses

public String[] getAllowedBodyClasses()

resolveBodyClass

public String resolveBodyClass(STKPageModel<? extends STKPage> model)


Copyright © 2008-2013 Magnolia International Ltd.. All Rights Reserved.